diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-08-02 15:21:41 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-08-02 15:21:41 -0500 |
commit | 184cce4d0d304cf6c39e888c27e1007a5acd2f74 (patch) | |
tree | 21883821cb892a19502e94bef684045d03ea1662 /spec/install/upgrade_spec.rb | |
parent | 220695122ff4de38a941afb8153f18f8b6667658 (diff) | |
download | bundler-seg-unhack-viz.tar.gz |
Fix precondition negated matchingseg-unhack-viz
Diffstat (limited to 'spec/install/upgrade_spec.rb')
-rw-r--r-- | spec/install/upgrade_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/install/upgrade_spec.rb b/spec/install/upgrade_spec.rb index 852a746322..d979b97647 100644 --- a/spec/install/upgrade_spec.rb +++ b/spec/install/upgrade_spec.rb @@ -14,7 +14,7 @@ describe "bundle install for the first time with v1.0" do it "removes lockfiles in 0.9 YAML format" do File.open("Gemfile.lock", "w") {|f| YAML.dump({}, f) } bundle :install - expect(File.read("Gemfile.lock")).not_to match(/^---/) + expect(Pathname.new("Gemfile.lock")).not_to read_as(a_string_starting_with("---")) end it "removes env.rb if it exists" do |