spec/bogus/creates_fakes_spec.rb in bogus-0.0.4 vs spec/bogus/creates_fakes_spec.rb in bogus-0.1.0
- old
+ new
@@ -12,10 +12,10 @@
end
module Bar
end
- before { stub(fake_class).new{fake_instance} }
+ before { stub(fake_class).__create__{fake_instance} }
context "without block" do
before do
mock(converts_name_to_class).convert(:foo) { Foo }
mock(copies_classes).copy(Foo) { fake_class }