Skip to content

Instantly share code, notes, and snippets.

@goosmurf
Created March 16, 2009 07:21
Show Gist options
  • Save goosmurf/79773 to your computer and use it in GitHub Desktop.
Save goosmurf/79773 to your computer and use it in GitHub Desktop.
class Test
def blah
"woohoo!"
end
end
describe "count received but return normal value" do
it "should return its normal value" do
t = Test.new
t.should_receive(:blah)
t.blah.should eql "woohoo!"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment