search for: user_steps

Displaying 4 results from an estimated 4 matches for "user_steps".

2008 Jun 15
2
RSpec story failing because of routing error on "/"
...field: Login, password: Password, and submit: ''Log in'' <snip/> FAILURES: 1) Creating an account (Anonymous user can start creating an account) FAILED ActionController::RoutingError: No route matches "/" with {:method=>:get} ./stories/steps/user_steps.rb:104:in `log_out!'' ./stories/steps/user_steps.rb:12:in `an anonymous user'' stories/rest_auth_stories.rb:17 <snip/> I am running: Rails: 2.1.0 RSpec-1.1.4 And this is a completely fresh install with no code added by me. Here are the steps to replicate (from my app root...
2008 Dec 10
1
Oddness with fieldnames containing an underscore
...ere should be 1 more user When I ''rake features'' it halts at the password_confirmation line... Scenario: Register new user # features/ manage_users.feature:16 Given I am on the new user page # features/ step_definitions/user_steps.rb:5 And I fill in "login" with "johnm" # features/ step_definitions/webrat_steps.rb:12 And I fill in "password" with "Lmmsoht" # features/ step_definitions/webrat_steps.rb:12 And I fill in "password_conf...
2008 Dec 02
4
Using Cucumber with latest Webrat
...e rake task "features" creates a command line that looks like: -I "/home/sveit/Projects/rails/varsitytutors/vendor/plugins/cucumber/lib" "/home/sveit/Projects/rails/varsitytutors/vendor/plugins/cucumber/bin/cucumber" --format pretty --require features/step_definitions/user_steps.rb --require features/step_definitions/webrat_steps.rb --require features/step_definitions/frooble_steps.rb --require features/support/env.rb features/manage_users.feature "support/env.rb" is required after "step_definitions/webrat_steps.rb". this should probably be changed. --...
2009 Jan 16
16
Testing arbitrary post action parameters
I am working on our (newly renamed) authentication feature. The current scenario is: Scenario: Non-administrators should not set administrator ability Given I have no users And I add a user named "admin" as an administrator And I add a user named "myuser" as not an administrator When the user named "myuser" authenticates And the user