spec/install/gems/sudo_spec.rb in bundler-1.0.13 vs spec/install/gems/sudo_spec.rb in bundler-1.0.14
- old
+ new
@@ -8,14 +8,15 @@
it "installs" do
install_gemfile <<-G
source "file://#{gem_repo1}"
gem "rack", '1.0'
+ gem "thin"
G
system_gem_path("gems/rack-1.0.0").should exist
- check system_gem_path("gems/rack-1.0.0").stat.uid.should == 0
+ system_gem_path("gems/rack-1.0.0").stat.uid.should eq(0)
should_be_installed "rack 1.0"
end
it "installs when BUNDLE_PATH is owned by root" do
bundle_path = tmp("owned_by_root")
@@ -27,10 +28,10 @@
source "file://#{gem_repo1}"
gem "rack", '1.0'
G
bundle_path.join("gems/rack-1.0.0").should exist
- check bundle_path.join("gems/rack-1.0.0").stat.uid.should == 0
+ bundle_path.join("gems/rack-1.0.0").stat.uid.should eq(0)
should_be_installed "rack 1.0"
end
it "installs when BUNDLE_PATH does not exist"
end