Fix spec version guard
Follow up for 278fefb96294adf9d27a78f919c714a31b65ef58
This commit is contained in:
parent
ae163cae6b
commit
e46292197f
2
spec/ruby/core/env/shared/update.rb
vendored
2
spec/ruby/core/env/shared/update.rb
vendored
@ -15,7 +15,7 @@ describe :env_update, shared: true do
|
|||||||
ENV["bar"].should == "1"
|
ENV["bar"].should == "1"
|
||||||
end
|
end
|
||||||
|
|
||||||
ruby_version_is "3.1" do
|
ruby_version_is "3.2" do
|
||||||
it "adds the multiple parameter hashes to ENV, returning ENV" do
|
it "adds the multiple parameter hashes to ENV, returning ENV" do
|
||||||
ENV.send(@method, {"foo" => "0", "bar" => "1"}, {"baz" => "2"}).should equal(ENV)
|
ENV.send(@method, {"foo" => "0", "bar" => "1"}, {"baz" => "2"}).should equal(ENV)
|
||||||
ENV["foo"].should == "0"
|
ENV["foo"].should == "0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user