aboutsummaryrefslogtreecommitdiffstats
path: root/spec/other/outdated_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/other/outdated_spec.rb')
-rw-r--r--spec/other/outdated_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/other/outdated_spec.rb b/spec/other/outdated_spec.rb
index 91a00d93..e3935475 100644
--- a/spec/other/outdated_spec.rb
+++ b/spec/other/outdated_spec.rb
@@ -30,7 +30,7 @@ describe "bundle outdated" do
out.should include("foo (1.0")
# Gem names are one per-line, between "*" and their parenthesized version.
- gem_list = out.split("\n").map { |g| g[/(?<=\* )(.*)(?= \()/] }.compact
+ gem_list = out.split("\n").map { |g| g[ /\* (.*) \(/, 1] }.compact
gem_list.should == gem_list.sort
end
end