summaryrefslogtreecommitdiff
path: root/spec/mspec/spec/guards/guard_spec.rb
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2020-03-28 00:22:48 +0100
committerBenoit Daloze <eregontp@gmail.com>2020-03-28 00:22:48 +0100
commit296f68816cf575b3ff920f92aec8a4109a7d81d4 (patch)
treed1e8321dcfd77aa788751583eb54826da55de4f2 /spec/mspec/spec/guards/guard_spec.rb
parentd214c188e48db5049fba8049a57dd6f73b1a57b0 (diff)
Update to ruby/mspec@16b5a0a
Diffstat (limited to 'spec/mspec/spec/guards/guard_spec.rb')
-rw-r--r--spec/mspec/spec/guards/guard_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/mspec/spec/guards/guard_spec.rb b/spec/mspec/spec/guards/guard_spec.rb
index 5c3dae4b3f..2c3317afe6 100644
--- a/spec/mspec/spec/guards/guard_spec.rb
+++ b/spec/mspec/spec/guards/guard_spec.rb
@@ -254,7 +254,7 @@ describe Object, "#guard" do
end
it "allows to combine guards" do
- guard1 = VersionGuard.new 'x.x.x'
+ guard1 = VersionGuard.new '1.2.3', 'x.x.x'
VersionGuard.stub(:new).and_return(guard1)
guard2 = PlatformGuard.new :dummy
PlatformGuard.stub(:new).and_return(guard2)
@@ -360,7 +360,7 @@ describe Object, "#guard_not" do
end
it "allows to combine guards" do
- guard1 = VersionGuard.new 'x.x.x'
+ guard1 = VersionGuard.new '1.2.3', 'x.x.x'
VersionGuard.stub(:new).and_return(guard1)
guard2 = PlatformGuard.new :dummy
PlatformGuard.stub(:new).and_return(guard2)