Created
May 1, 2009 13:48
-
-
Save neilmock/105050 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
require 'spec' | |
class Something | |
def initialize | |
do_something | |
end | |
def do_something | |
raise NotImplementedError.new("Not Yet Implemented") | |
end | |
end | |
describe "Something" do | |
it "should pass this test but doesn't" do | |
# so how do i stub do_something on any instance of Something | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment