diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/other/outdated_spec.rb | 2 |
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 |