In my actual project I use the following gems for testing: capybara from git://github.com/jnicklas/capybara.git in revision 6641fddcfc337a3ddaa84ac59272e884090332c3
I\'m taking over an application.It has no testing. I\'m looking for the bare minimum integration testing I can start with to have at least something to yell at me if I break something.
I\'ve got a cucumber suite set up to read a static PDF file and do assertions on it\'s content. I recently updated all my gems, and since doing so, it doesn\'t work any开发者_Python百科more.
I\'m trying to follow the instructions here to install Capybara. But each time I try to run the integration test,I get:
I am using capybara and selenium to run my cucumber test on my local machine. For the pages that involves javascript, Selenium activates firefox and crawls through the pages in firefox to do the tasks
I\'m calling render_views in my rspec controller spec so I can test the content of the response directly rather than using separate view specs.
Given I have a page with a 10 users listing, How can I test that I have 10 user show links ? I\'ve tried this :
The error ForumsController create should work for plist Failure/Error: post :create, :name => \"My New Shiny Forum\", :format => \'plist\'
Im trying to test a user clicking on a button which makes an ajax call. When i click it manuallly in my browser it behaves as expected i.e. default behaviour of the button is ignored and instead it ge
In a view file I have: = link_to \'View\', post = link_to \'View\', comment In开发者_如何学JAVA a spec file (I\'m using Capybara):