M
Mike RegistrationErr
The script (test.rb):
== START ==
require 'rubygems'
require 'firewatir'
include Test::Unit
include Test::Unit::Assertions
include Test::Unit::TestCase
assert_same "hello", "hello"
== END ==
doesn't seem to work. It says:
test.rb:8: undefined method `assert_same' for main:Object
(NoMethodError)
Surely the includes include this method?
I am new to ruby. Googling just brings up billions of irrelevant
results. The more I google the more confusion occurs. If someone can
just give me a quick heads up to what is wrong then I can sort this out.
Thanks!
== START ==
require 'rubygems'
require 'firewatir'
include Test::Unit
include Test::Unit::Assertions
include Test::Unit::TestCase
assert_same "hello", "hello"
== END ==
doesn't seem to work. It says:
test.rb:8: undefined method `assert_same' for main:Object
(NoMethodError)
Surely the includes include this method?
I am new to ruby. Googling just brings up billions of irrelevant
results. The more I google the more confusion occurs. If someone can
just give me a quick heads up to what is wrong then I can sort this out.
Thanks!