This 
https://github.com/rspec/rspec-rails/commit/59793dcc349b64f4ebcf742606371001256c774d
is exciting news!! ("this adds capybara matchers to view and helper
specs")

Now, if I just knew how to take advantage of it? Do I have to require
something else in spec_helper? I have already added included
  gem 'rspec-rails', '~> 2.6.0.rc2'
  gem 'capybara', '~> 1.0.0.beta1'
in my Gemfile, but in a helper, I still cannot get
  helper.my_fantastic_tag.should have_selector('a')
to work. Instead
 undefined method `has_selector?' for "test":String
Seems like the Capybara::RSpecMatchers dont get included :(

Any thoughts?
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to