1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00

Remove stray finder spec

This commit is contained in:
Andrew Haines 2012-11-07 23:26:58 +00:00
parent c10bf791e0
commit 17cf08a0c1

View file

@ -515,17 +515,6 @@ describe Draper::Decorator do
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
subject.kind_of?(source.class).should be_true
subject.is_a?(source.class).should be_true