Skip to content

Instantly share code, notes, and snippets.

@kneath
Forked from pedro/gist:210485
Created October 14, 2009 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kneath/210487 to your computer and use it in GitHub Desktop.
Save kneath/210487 to your computer and use it in GitHub Desktop.
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 :{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment