[wtr-general] Re: goto method not found

2016-10-09 Thread Jarmo Pertman
"type: :request" is used so that RSpec would include Watir-specific helpers only into specs where they are actually needed (so-called request/integration type specs) and not into every test (e.g. regular unit tests, controller tests, model tests etc.). You can remove that additional filter,

[wtr-general] Re: goto method not found

2016-10-07 Thread artie . ziff
Justin, Thanks for the super helpful responses! And demonstrating the necessary fixes to the example. You are most kind!!! -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Re: goto method not found

2016-10-04 Thread Justin Ko
The "type: :request" is added when Rails is detected, which happened during your installation. As a result, each of the configurations only applies to examples groups that have the same metadata of "type: :request". I am not a Rails developer, so I cannot explain the rationale for adding the

[wtr-general] Re: goto method not found

2016-10-04 Thread artie . ziff
Thanks very much for the dialog on this, Justin. I know your time must be valuable. Well, perhaps the mystery deepens. :) At least for me it does. Lot for me to learn here. Indeed, this entire block (with comments) was inside my ./spec/spec_helper.rb file: require "watir/rspec"

[wtr-general] Re: goto method not found

2016-10-04 Thread Justin Ko
When I ran the install, the following was added to the spec_helper (with the comments removed for brevity): require "watir/rspec" RSpec.configure do |config| config.add_formatter(:progress) if config.formatters.empty? config.add_formatter(Watir::RSpec::HtmlFormatter) config.before :all

[wtr-general] Re: goto method not found

2016-10-04 Thread artie . ziff
Thank you very much for your reply Yes, I ran install. IIRC correctly there were two lines of output. I did not make a copy of the spec_helper before I ran the install. What should I look for in there? thanks! -AZ On Tuesday, October 4, 2016 at 6:52:30 AM UTC-7, Justin Ko wrote: > > It

[wtr-general] Re: goto method not found

2016-10-04 Thread Justin Ko
It sounds like the Watir::RSpec::Helper has not been added to the example groups. Did you run the "watir-rspec install" (see last step of installation)? The install augments your project's spec_helper file to include this module and other related parts. In terms of the debugging question, I