Skip to content

Instantly share code, notes, and snippets.

@waterlink
Created January 22, 2015 20:05
Embed
What would you like to do?
1) RSpec::Expectations behaves like a library that issues no warnings when loaded issues no warnings when the spec files are loaded
Failure/Error: expect(stderr).to eq("")
expected: ""
got: "/Users/waterlink/.rvm/gems/ruby-2.2.0@global/gems/bundler-1.7.9/lib/bundler/source/rubygems.rb:191: warning: shadowing outer local variable - spec\n"
(compared using ==)
Diff:
@@ -1 +1,2 @@
+/Users/waterlink/.rvm/gems/ruby-2.2.0@global/gems/bundler-1.7.9/lib/bundler/source/rubygems.rb:191: warning: shadowing outer local variable - spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment