Skip to content

Instantly share code, notes, and snippets.

@erubboli
Created August 30, 2012 15:41
Show Gist options
  • Save erubboli/3531244 to your computer and use it in GitHub Desktop.
Save erubboli/3531244 to your computer and use it in GitHub Desktop.
[1] pry(#<Bacon::Context>)> result
=> [200, {}, "bar"]
[2] pry(#<Bacon::Context>)> result == [200,{},"bar"]
=> true
[3] pry(#<Bacon::Context>)> result.should.equal([200,{},"bar"])
Bacon::Error: [200, {}, "bar"].==([200, {}, "bar"]) failed
from ~/.rvm/gems/jruby-1.7.0.preview1@nasreddin/gems/bacon-1.1.0/bin/../lib//bacon.rb:331:in `satisfy'
@erubboli
Copy link
Author

[8] pry(#Bacon::Context)> 1.should.equal 1
=> true
[9] pry(#Bacon::Context)> [].should.equal []
=> true
[10] pry(#Bacon::Context)> [1,2,3].should.equal [1,2,3]
Bacon::Error: [1, 2, 3].==([1, 2, 3]) failed
from /home/erubboli/.rvm/gems/jruby-1.7.0.preview1@nasreddin/gems/bacon-1.1.0/bin/../lib//bacon.rb:331:in `satisfy'

@erubboli
Copy link
Author

[11] pry(#Bacon::Context)> result.should.equal result
Bacon::Error: [200, {}, "bar"].==([200, {}, "bar"]) failed
from /home/erubboli/.rvm/gems/jruby-1.7.0.preview1@nasreddin/gems/bacon-1.1.0/bin/../lib//bacon.rb:331:in `satisfy'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment