cucumber
How do I assert nil presence of flash variables with Cucumber-Capybara?
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:[详细]
2023-04-03 13:15 分类:问答Cucumber: Factory Girl doesn't modify database -- creates object with .create but database table is still empty afterwards
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[详细]
2023-04-03 09:57 分类:问答How do I do if statements in Cucumber scenarios?
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.[详细]
2023-04-03 05:25 分类:问答How do I re-run a cucumber scenario outline with different parameters?
I have a cucumber scenario outline for testing a webservice that is similar to: Scenario Outline: Check the limit functionality[详细]
2023-04-03 01:23 分类:问答testing the google +1 button using cucumber
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)[详细]
2023-04-02 20:44 分类:问答Cucumber & Vim: Getting around incorrect syntax highlighting for steps
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|[详细]
2023-04-02 18:53 分类:问答Cucumber: Wait for ajax:success
I have the following typical cucumber steps in a Rails 3.1 project: ... When I follow \"Remove from cart\"[详细]
2023-04-02 16:21 分类:问答Cucumber's multi-example tables for Rspec?
Is there something similar to Cucumber\'s multi-example tables (usin开发者_如何转开发g pickle) for Rspec acceptance specs (capybara)?[详细]
2023-04-02 09:05 分类:问答Problem with the factory girl cucumber step definitions
I am using the cucumber step definitons provided by factory girl and I can not get something to work here.[详细]
2023-04-02 06:39 分类:问答Rails 3.1 capybara javascript test access denied
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:[详细]
2023-04-02 05:10 分类:问答