I\'m running a Rails 3.0.7 project with Cucumber and Capybara and I have a step definition that checks if a flash[:error] exists:
p = Factory(:model) ap Model.find(:all)#output to prove that it\'s getting created so... the print shows that the IDs of the objects is going up.... but the database remains empty as I continually
My app has permissions, and certain tests need to not be run when a particular permission is on, and some tests need to be run when that same permission is on.
I have a cucumber scenario outline for testing a webservice that is similar to: Scenario Outline: Check the limit functionality
How do you test Google +1 using Cucumber? I\'ve tried manually testing the google +1 button by adding the code found here(im using the html5 version)
One thing I\'ve often noticed with cucumber is the syntax highlighting for steps such as: Given /^I have a category with name \"([^\"]*)\"$/ do |category|
I have the following typical cucumber steps in a Rails 3.1 project: ... When I follow \"Remove from cart\"
Is there something similar to Cucumber\'s multi-example tables (usin开发者_如何转开发g pickle) for Rspec acceptance specs (capybara)?
I am using the cucumber step definitons provided by factory girl and I can not get something to work here.
I\'ve just upgraded to Rails 3.1 and now when I try and run my cucumber (capybara) tests with the @javascript tag I get the following error: