diff options
Diffstat (limited to 'spec/commands/binstubs_spec.rb')
-rw-r--r-- | spec/commands/binstubs_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/binstubs_spec.rb b/spec/commands/binstubs_spec.rb index 35c9d187a0..0f8c5af391 100644 --- a/spec/commands/binstubs_spec.rb +++ b/spec/commands/binstubs_spec.rb @@ -157,7 +157,7 @@ describe "bundle binstubs <gem>" do it "includes the standalone path" do bundle "binstubs rack --standalone" standalone_line = File.read(bundled_app("bin/rackup")).each_line.find {|line| line.include? "$:.unshift" }.strip - expect(standalone_line).to eq "$:.unshift File.expand_path '../../bundle', __FILE__" + expect(standalone_line).to eq "$:.unshift File.expand_path '../../bundle', path.realpath" end end |