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:
parent
c10bf791e0
commit
17cf08a0c1
1 changed files with 0 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue