Is is possible to run capybara with ngin开发者_如何转开发x and passenger? instead or webrick? Capybara is installed with cucumber in a rails app.It is easy - the only thing you have to do is to switch
I have a helper method that calls current_user.eligible_for_re开发者_高级运维ward? and I want to stub that call in a Capybara acceptance spec.In my model I have a placeholder dummy method:
Working with RSpec & Capybara, I\'m getting an interesting test failure mode which goes away with a few subtle rearrangements of lines in the test case...stuff that shouldn\'t matter.
I\'m trying to write a request_spec that tests the functionality of a page with a form that does a ajax autocomplete lookup and returns valid results to then activate the submit button.
I have a list like this <ul> <li></li> <li .current></li> <li></li>
Hi I need help with Cucumber to Capybara regex match. So I want to have a Cucumber step below: I should see \"10:00, 11:00, 12:00\" under \"div1\"
I\'m setting up my test environment with Rspec + Capybara, but I get this undefined last_response. I was searching throught the web and SO. I found couple of things about version, use git repo instead
I have all my capybara tests working with my authlogic members area using the default driver, but when i change one test to use selenium driver as it has ajax in it, it gives my theis error :
Is it possible to use Capybara or Webrat开发者_运维技巧 in a Rails app which does not rely on ActiveRecord (no SQL database) ? My app is using MongoDB and Mongoid instead.Sure. Capybara nor webrat rel
In development mode, I can point my browser at http://localhost:3000/brands/ and I see a list of all brands, indicating that the route mapping, the index action in the c开发者_运维问答ontroller and th