Remove stray finder spec
This commit is contained in:
parent
c10bf791e0
commit
17cf08a0c1
|
@ -515,17 +515,6 @@ describe Draper::Decorator do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context '#all' do
|
|
||||||
it "return a decorated collection" do
|
|
||||||
ProductDecorator.all.first.should be_instance_of ProductDecorator
|
|
||||||
end
|
|
||||||
|
|
||||||
it "accept a context" do
|
|
||||||
collection = ProductDecorator.all(context: :admin)
|
|
||||||
collection.first.context.should == :admin
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
it "pretends to be the source class" do
|
it "pretends to be the source class" do
|
||||||
subject.kind_of?(source.class).should be_true
|
subject.kind_of?(source.class).should be_true
|
||||||
subject.is_a?(source.class).should be_true
|
subject.is_a?(source.class).should be_true
|
||||||
|
|
Loading…
Reference in New Issue