Skip to content
Browse files

Remove redundant spec

The `:polymorphic` option is now redundant, because the decorator
is always inferred from the associated object.
  • Loading branch information...
1 parent 609123f commit 966d9cca844c0f59bafdfb88a9dbf171ae67ae13 @haines committed Nov 8, 2012
Showing with 0 additions and 11 deletions.
  1. +0 −11 spec/draper/decorated_association_spec.rb
View
11 spec/draper/decorated_association_spec.rb
@@ -126,16 +126,5 @@
subject.source.should be scoped
end
end
-
- context "for a polymorphic association" do
- let(:association) { :thing }
- let(:options) { {polymorphic: true} }
-
- it "makes the association return the right decorator" do
- subject.should be_decorated_with SomeThingDecorator
- end
- end
end
-
-
end

0 comments on commit 966d9cc

Please sign in to comment.
Something went wrong with that request. Please try again.