public
Last active — forked from pedro/gist:210485

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11
describe 'Bacon and Mocha sucks together' do
it "sucks when you have a spec using only mocha, not bacon, to assert something" do
str = 'a'
str.expects(:size)
str.size
end
end
 
# this raises Bacon::Error: empty specification
# after spending 20 minutes trying to fix I decided to just add
# 1.should.equal 1 to all my specs :{

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.