Merge pull request #307 from haines/fix_nonspecs

Fix specs that don't do anything
This commit is contained in:
Vasiliy Ermolovich 2012-10-12 09:22:02 -07:00
commit a8e46e25bb
1 changed files with 3 additions and 7 deletions

View File

@ -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