fakes 0.3.8 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/core/version.rb +1 -1
- data/lib/fakes.rb +1 -1
- data/spec/specs/extensions_spec.rb +3 -1
- metadata +1 -1
data/lib/core/version.rb
CHANGED
data/lib/fakes.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
1
3
|
describe Object do
|
2
4
|
it "should be able to create a new fake" do
|
3
5
|
fake.class.should == Fakes::Fake
|
@@ -13,7 +15,7 @@ describe Object do
|
|
13
15
|
end
|
14
16
|
|
15
17
|
it "should register a new fake with the class swaps" do
|
16
|
-
swaps.received(:add_fake_for).called_with(Dir,
|
18
|
+
swaps.received(:add_fake_for).called_with(Dir,arg_match.not_nil).should_not be_nil
|
17
19
|
end
|
18
20
|
|
19
21
|
it "should return the newly created fake" do
|