Remove stray finder spec

This commit is contained in:
Andrew Haines 2012-11-07 23:26:58 +00:00
parent c10bf791e0
commit 17cf08a0c1
1 changed files with 0 additions and 11 deletions

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