fakes-rspec 0.3.8 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/core/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Fakes
2
2
  module RSpec
3
- VERSION = "0.3.8"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
@@ -98,14 +98,14 @@ describe "using the rspec extensions" do
98
98
  item = fake
99
99
  item.hello("Yes")
100
100
 
101
- item.should have_received(:hello,matches.any)
101
+ item.should have_received(:hello,arg_match.any)
102
102
  end
103
103
 
104
104
  it "should be able to determing if a call was made using a combination of arg matchers and explicit values" do
105
105
  item = fake
106
106
  item.hello("Yes",2)
107
107
 
108
- item.should have_received(:hello,matches.regex(/Y/),2)
108
+ item.should have_received(:hello,arg_match.regex(/Y/),2)
109
109
  end
110
110
  end
111
111
  context "using class swapping" do
@@ -121,7 +121,7 @@ describe "using the rspec extensions" do
121
121
  item = fake
122
122
  item.hello("Yes",2)
123
123
 
124
- item.should have_received(:hello,matches.regex(/Y/),2)
124
+ item.should have_received(:hello,arg_match.regex(/Y/),2)
125
125
  end
126
126
  end
127
127
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fakes-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: