Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
diaspora
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Milan
diaspora
Commits
6b12c552
Commit
6b12c552
authored
Jan 25, 2011
by
maxwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix cucumber failure
parent
1b6ae940
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
features/change_password.feature
features/change_password.feature
+3
-2
features/step_definitions/session_steps.rb
features/step_definitions/session_steps.rb
+5
-0
No files found.
features/change_password.feature
View file @
6b12c552
...
...
@@ -6,7 +6,8 @@ Feature: Change password
And
I click on my name in the header
And
I follow
"account settings"
Then
I should be on my account settings page
When
I fill in
"user_password"
with
"newsecret"
When
I put in my password in
"user_current_password"
And
I fill in
"user_password"
with
"newsecret"
And
I fill in
"user_password_confirmation"
with
"newsecret"
And
I press
"Change Password"
Then
I should see
"Password Changed"
...
...
@@ -15,4 +16,4 @@ Feature: Change password
Then
I should be on the home page
And
I sign in with password
"newsecret"
Then
I should be on the aspects page
\ No newline at end of file
features/step_definitions/session_steps.rb
View file @
6b12c552
...
...
@@ -30,3 +30,8 @@ When /^I sign in with password "([^"]*)"$/ do |password|
Given
'I am signed in'
end
When
/^I put in my password in "([^"]*)"$/
do
|
field
|
When
%(I fill in "#{field}" with "#{@me.password}")
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment