Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'rubygems'
- require 'bacon'
- require 'facon'
- class Crystal
- def meth
- end
- end
- describe Crystal do
- it "should have a 'meth' method" do
- Crystal.new.should.respond_to(:meth)
- end
- it 'should do something when calling this method' do
- c = Crystal.new
- c.should.receive(:smoke)
- c.meth
- end
- end
Add Comment
Please, Sign In to add comment