spec/bogus/copies_classes_spec.rb in bogus-0.0.3.rc.1 vs spec/bogus/copies_classes_spec.rb in bogus-0.0.3.rc.2

- old
+ new

@@ -55,12 +55,10 @@ it "makes the methods chainable" do subject.foo.bar('hello').baz('hello', 'world', 'foo').bam.baa('foo') end end - let(:method_stringifier) { isolate(Bogus::MethodStringifier) } - let(:makes_substitute_methods) { isolate(Bogus::MakesSubstituteMethods) } - let(:copies_classes) { isolate(Bogus::CopiesClasses) } + let(:copies_classes) { Bogus.inject.copies_classes } let(:fake_class) { copies_classes.copy(klass) } let(:fake) { fake_class.new } class FooWithInstanceMethods include SampleMethods