summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-08-12 14:59:42 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-08-23 11:50:35 -0500
commite9eabda0a1fc2ceb2d032321098af11ccb08ab73 (patch)
tree7e819a516e7140ece6af48285ee88b9aa3b7a8ac
parent38b0e7ed64c3ca1c40f43c5aa9a1ead2f6cd7049 (diff)
downloadbundler-e9eabda0a1fc2ceb2d032321098af11ccb08ab73.tar.gz
Update spec for consistency with how Gem.ruby_version is used
-rw-r--r--spec/install/gemspecs_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/install/gemspecs_spec.rb b/spec/install/gemspecs_spec.rb
index 3e6021b7e2..8f719bf601 100644
--- a/spec/install/gemspecs_spec.rb
+++ b/spec/install/gemspecs_spec.rb
@@ -50,7 +50,7 @@ describe "bundle install" do
context "when ruby version is specified in gemspec and gemfile" do
it "installs when patch level is not specified and the version matches" do
build_lib("foo", :path => bundled_app) do |s|
- s.required_ruby_version = RUBY_VERSION
+ s.required_ruby_version = "~> #{RUBY_VERSION}.0"
end
install_gemfile <<-G