diff options
-rw-r--r-- | spec/bundler/gem_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/gem_helper_spec.rb b/spec/bundler/gem_helper_spec.rb index ae15678268..7c07a9d215 100644 --- a/spec/bundler/gem_helper_spec.rb +++ b/spec/bundler/gem_helper_spec.rb @@ -112,7 +112,7 @@ describe Bundler::GemHelper do it "raises an error with appropriate message" do task_names.each do |name| expect { Rake.application[name] }. - to raise_error("Don't know how to build task '#{name}'") + to raise_error(/^Don't know how to build task '#{name}'/) end end end |