spec/adhearsion_spec.rb in adhearsion-2.3.0 vs spec/adhearsion_spec.rb in adhearsion-2.3.1
- old
+ new
@@ -39,10 +39,10 @@
subject.config.should be_instance_of Adhearsion::Configuration
end
it "should execute a block" do
foo = Object.new
- flexmock(foo).should_receive(:bar).once
+ foo.should_receive(:bar).once
Adhearsion.config do |config|
foo.bar
end
end
end