I'd recommend you to move your browser-based specs to requests/integration
directory instead, because this is what rspec-rails expects and gives you
some additional helpers. Here's the relevant code:
https://github.com/rspec/rspec-rails/blob/master/lib/rspec/rails/example.rb#L46-L51
Also, in
Ok, the problem apparently was with the tests being in the
/spec/acceptancefolder. The Rspec configuration isn't loaded for custom folders
by default..
Basically I had to change all the config.include lines in spec_helper.rbfrom:
config.include Watir::RSpec::Helper, :type = :request
to