Skip to content

Instantly share code, notes, and snippets.

@santiago
Created June 28, 2010 19:18
Show Gist options
  • Save santiago/456236 to your computer and use it in GitHub Desktop.
Save santiago/456236 to your computer and use it in GitHub Desktop.
# test_spec.rb
require '../../lib/math_testr'
include MathTestr
describe Test, "#create_test" do
it "creates a new test" do
test= Test::create_test(1,2,3,4,5)
test.should_not == nil
end
end
@santiago
Copy link
Author

test= Test::create_test(1,2,3,4,5)

@santiago
Copy link
Author

NoMethodError in 'MathTestr::Test#create_test creates a new test'
undefined method `create_test' for MathTestr::Test:Module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment