spec/bogus/mocking_dsl_spec.rb in bogus-0.1.5 vs spec/bogus/mocking_dsl_spec.rb in bogus-0.1.6

- old
+ new

@@ -237,10 +237,12 @@ end end end describe "#fake" do - include Bogus::MockingDSL + before do + extend Bogus::MockingDSL + end it "creates objects that can be stubbed" do greeter = fake stub(greeter).greet("Jake") { "Hello Jake" }