I wrote up a spec that uses the Site.new block like you are using with watir-webdriver and it worked fine
https://github.com/hammernight/etsy_rspec_taza_tutorial/blob/master/spec/isolation/etsy/shopping_cart_old_school_taza_spec.rb It could be something in your config you can check the spec_helper and config for that example project maybe it will help On Tue, Jul 10, 2012 at 11:38 AM, hillary <[email protected]> wrote: > Line 83 is this > > Insight.new do |c| > > which is my loading of the site. > > > On Friday, July 6, 2012 5:28:36 PM UTC-7, Oscar.Rieken wrote: >> >> hard to say but lookst like test_page_spec.rb 83 may point you in the >> right direction im guessing something is not being required >> >> On Fri, Jul 6, 2012 at 6:40 PM, hillary <[email protected]> wrote: >> >>> So I need to use watir for running tests in ie (I have to test on ie8, >>> and there's still that protected mode strangeness last i saw). But i may >>> need to run my tests on firefox, so i'm trying to see if watir-webdriver >>> will work. >>> >>> When I try to run tests with watir-webdriver I get the following error: >>> >>> Failures: >>> >>> 1) TestPage Insight Smoke Test Role Permisisons should click on the >>> reports ta >>> b >>> Failure/Error: Insight.new do |c| >>> TypeError: >>> superclass mismatch for class UnknownObjectException >>> # ./spec/isolation/insight/test_**page_spec.rb:83:in `block (4 >>> levels) in <to >>> p (required)>' >>> >>> my config file has the following: >>> browser: firefox >>> driver: watir_webdriver >>> >>> I've removed any require 'watir' statements that i had in the path. >>> However it's still part of my gemfile because i still use watir. >>> >>> Anyone have any ideas. >>> >>> >>> >>> >>> -- >>> Before posting, please read http://watir.com/support. In short: search >>> before you ask, be nice. >>> >>> [email protected] >>> http://groups.google.com/**group/watir-general<http://groups.google.com/group/watir-general> >>> watir-general+unsubscribe@**googlegroups.com<watir-general%[email protected]> >>> >> >> -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
