search for: has_selector

Displaying 3 results from an estimated 3 matches for "has_selector".

Did you mean: fs_selector
2010 Sep 01
2
Undefined methods: has_selector? and flunk
I''m in the process of updating an app for Rails 3.0 and rspec-rails 2.0.0.beta20. When I''m running my specs (rake spec) I get a large number of errors caused by two undefined methods undefined method `has_selector?'' for #<String:0x7fdbd0b5b270> undefined method `flunk'' for #<RSpec::Core::ExampleGroup::Nested_15::Nested_1::Nested_2::Nested_2:0x7fdbd0c48fe8> I...
2009 Jan 13
2
Using has_selector to identify responses.
This is more of a "best practices" question. Earlier, when I was trying to understand what it was I was supposed to be testing with cucumber, I was advised that I should test for text elements contained in the response body of the expected output. Now, what I am wondering is how one accounts for multilingual implementation. I have hit upon the idea of simply adding special css id
2011 Apr 26
1
new goodness, Capybara::RSpecMatchers in helper specs
...''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?