From 5b4443401e2be102c451253546f84dd5d3832e19 Mon Sep 17 00:00:00 2001 From: Andrew Haines Date: Fri, 12 Oct 2012 17:16:34 +0100 Subject: [PATCH] Fix specs that don't do anything --- spec/draper/decorator_spec.rb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/spec/draper/decorator_spec.rb b/spec/draper/decorator_spec.rb index 5c2a381..be9ed41 100755 --- a/spec/draper/decorator_spec.rb +++ b/spec/draper/decorator_spec.rb @@ -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