can you send us the full error log
On Sep 24, 3:47 pm, bingo bob <[email protected]>
wrote:
> I'm trying to get testing setup with Watir (safariwatir) specifically
> and watir-on-rails.
>
> gem list
> safariwatir (0.3.3)
>
> I updated the template here.
>
> cat
> vendor/plugins/watir-on-rails/generators/watir/templates/watir_test.rb
>
> looks like this currently.
>
> require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth
> %>/../test_helper'
>
> class <%= class_name %>Test < ActiveSupport::TestCase
> include WatirOnRails
>
> # Uncomment the following lines to specify a test server.
> # WatirOnRails defaults tohttp://localhost:3000
> #
> # server "localhost"
> # port 3001
>
> # fixtures :foos, :bars
>
> def test_nothing_yet
> browser = open_browser("/")
> fail "Need to write my Watir on Rails test"
> end
>
> ========
>
> after generating a dummy test, when I do rake:test:watir I get this
> error amongst the output...
>
> NoMethodError: undefined method `require_gem' for
> #<SuccessfulLoginTest:0x103616418>
>
> What do I need to do to clear this and where's a good place to do it ! ?
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---