Szymon Nowak
2011-May-04 16:15 UTC
[rspec-users] Has anything changed in config.include syntax in 2.6.0?
Hey,
I''ve got Integration::AuthenticationHelpers module in
/support/integration/authentication_helpers.rb file. It uses some Capybara
methods like "visit" etc. I include it using
config.include Integration::AuthenticationHelpers, :type => :request
In 2.5.x it works fine, in 2.6.0.rc4 it causes the following error:
Failure/Error: sign_in @user
NoMethodError:
undefined method `visit'' for
#<RSpec::Core::ExampleGroup::Nested_1:0x0000010623fe68>
Has something changed? I''m using Capybara 1.0.0.beta1.
Cheers,
Szymon
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/rspec-users/attachments/20110504/d78dedf9/attachment-0001.html>
Szymon Nowak
2011-May-04 18:28 UTC
[rspec-users] Has anything changed in config.include syntax in 2.6.0?
Looks like it''s fixed on master. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110504/05044d3f/attachment-0001.html>