summaryrefslogtreecommitdiff
path: root/spec/install/gemspecs_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install/gemspecs_spec.rb')
-rw-r--r--spec/install/gemspecs_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/install/gemspecs_spec.rb b/spec/install/gemspecs_spec.rb
index a9721b296b..aa3085b0d7 100644
--- a/spec/install/gemspecs_spec.rb
+++ b/spec/install/gemspecs_spec.rb
@@ -60,8 +60,8 @@ describe "bundle install" do
should_be_installed "foo 1.0"
end
- it "installs when patch level is specified and the version still matches the current version" do
- pending "this feature does not support dev ruby versions" if RUBY_PATCHLEVEL < 0
+ it "installs when patch level is specified and the version still matches the current version",
+ :if => RUBY_PATCHLEVEL >= 0 do
build_lib("foo", :path => bundled_app) do |s|
s.required_ruby_version = "#{RUBY_VERSION}.#{RUBY_PATCHLEVEL}"
end
@@ -73,8 +73,8 @@ describe "bundle install" do
should_be_installed "foo 1.0"
end
- it "fails and complains about patchlevel on patchlevel mismatch" do
- pending "this feature does not support dev ruby versions" if RUBY_PATCHLEVEL < 0
+ it "fails and complains about patchlevel on patchlevel mismatch",
+ :if => RUBY_PATCHLEVEL >= 0 do
patchlevel = RUBY_PATCHLEVEL.to_i + 1
build_lib("foo", :path => bundled_app) do |s|
s.required_ruby_version = "#{RUBY_VERSION}.#{patchlevel}"