kneath (owner)

Fork Of

Revisions

gist: 210487 Download_button fork
public
Public Clone URL: git://gist.github.com/210487.git
Embed All Files: show embed
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 :{