Skip to content

Instantly share code, notes, and snippets.

@banister
Created January 29, 2012 13:10
Show Gist options
  • Save banister/de0a727305b4c4ec058b to your computer and use it in GitHub Desktop.
Save banister/de0a727305b4c4ec058b to your computer and use it in GitHub Desktop.
crow:play john$ ruby bacon_intercept.rb
/Users/john/.rvm/gems/ruby-1.9.3-p0/gems/pry-0.9.8/lib/pry/pry_class.rb:213: warning: Insecure world writable dir /Applications/MacPorts/Emacs.app/Contents in PATH, mode 040777
alpha
- should be empty
Frame number: 0/11
Frame type: block
From: bacon_intercept.rb @ line 13:
8:
9: #Pry.config.hooks.add_hook(:before_session, :blah) { EE.intercept { false } }
10:
11: describe "alpha" do
12: it 'should be empty' do
=> 13: [1].empty?.should == true
14: [2].empty?.should == false
15: end
16: end
[1] (pry) #<Bacon::Context>: 0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment