Created
October 14, 2009 23:17
-
-
Save pedro/210485 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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