diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-07-15 12:43:43 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-07-19 17:13:44 -0500 |
commit | 752ad8a4c10d6f43eecbfdf8b6a3c7f692ab9692 (patch) | |
tree | ab3487e8a5594946e3a47fa81817d93997270f21 /spec | |
parent | bd491f0e44d9f0ba5497f29e24a8ca110f8eec89 (diff) | |
download | bundler-752ad8a4c10d6f43eecbfdf8b6a3c7f692ab9692.tar.gz |
Fix legacy RubyGems compatibility
Diffstat (limited to 'spec')
-rw-r--r-- | spec/bundler/dsl_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/dsl_spec.rb b/spec/bundler/dsl_spec.rb index 77d663d754..00d36dd55f 100644 --- a/spec/bundler/dsl_spec.rb +++ b/spec/bundler/dsl_spec.rb @@ -80,7 +80,7 @@ describe Bundler::Dsl do it "handles syntax errors with a useful message" do expect(Bundler).to receive(:read_file).with("Gemfile").and_return("}") expect { subject.eval_gemfile("Gemfile") }. - to raise_error(Bundler::GemfileError, /There was an error parsing `Gemfile`: (syntax error, unexpected tSTRING_DEND|(compile error - )?syntax error, unexpected '}'). Bundler cannot continue./) + to raise_error(Bundler::GemfileError, /There was an error parsing `Gemfile`: (syntax error, unexpected tSTRING_DEND|(compile error - )?syntax error, unexpected '\}'). Bundler cannot continue./) end it "distinguishes syntax errors from evaluation errors" do |