Merge pull request #307 from haines/fix_nonspecs
Fix specs that don't do anything
This commit is contained in:
commit
a8e46e25bb
|
@ -275,13 +275,9 @@ describe Draper::Decorator do
|
|||
end
|
||||
end
|
||||
|
||||
context 'the decorated model' do
|
||||
it 'receives the mixin' do
|
||||
source.class.ancestors.include?(Draper::Decoratable)
|
||||
end
|
||||
|
||||
it 'includes ActiveModel support' do
|
||||
source.class.ancestors.include?(Draper::ActiveModelSupport)
|
||||
context "the decorated model" do
|
||||
it "receives the Decoratable mixin" do
|
||||
source.should be_a_kind_of Draper::Decoratable
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue