Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3199
| From | Mike RegistrationErr <xandrani@gmail.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | assert_name doesn't exist as a function? |
| Date | 2011-04-19 20:04 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <0b400c83ed884b0303d1f4a910bbf476@ruby-forum.com> (permalink) |
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! -- Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Next in thread | Find similar | Unroll thread
assert_name doesn't exist as a function? Mike RegistrationErr <xandrani@gmail.com> - 2011-04-19 20:04 -0500
Re: assert_name doesn't exist as a function? Mike RegistrationErr <xandrani@gmail.com> - 2011-04-19 20:15 -0500
Re: assert_name doesn't exist as a function? Brian Candler <b.candler@pobox.com> - 2011-04-20 03:45 -0500
Re: assert_name doesn't exist as a function? 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-20 12:21 -0500
Re: assert_name doesn't exist as a function? Brian Candler <b.candler@pobox.com> - 2011-04-20 15:38 -0500
csiph-web