spec/cli/token_spec.rb in travis-1.5.6.travis.307.4 vs spec/cli/token_spec.rb in travis-1.5.6.travis.312.4
- old
+ new
@@ -15,8 +15,8 @@
example 'travis token (no access token set)' do
run_cli('token').should_not be_success
stdout.should be_empty
- stderr.should == "not logged in, please run #$0 login\n"
+ stderr.should == "not logged in, please run #{File.basename($0)} login\n"
end
end