spec/bogus/fakes/faking_factories_spec.rb in bogus-0.1.5 vs spec/bogus/fakes/faking_factories_spec.rb in bogus-0.1.6
- old
+ new
@@ -1,8 +1,10 @@
require 'spec_helper'
describe "Faking Factories" do
- include Bogus::MockingDSL
+ before do
+ extend Bogus::MockingDSL
+ end
class ExampleFactory
def initialize(model_class)
@model_class = model_class
end