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