diff options
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 |