Skip to content

Commit

Permalink
Refactored User feature, this is a cucumber convention
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenheidel authored and parndt committed Jun 30, 2010
1 parent 5e8ad38 commit ac8daef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions features/refinery/manage_users.feature
Expand Up @@ -23,7 +23,7 @@ Feature: Manage Users
And I should have 1 user

Scenario: User List
Given I have a user named resolve
Given I have a user named "resolve"
And I am a logged in user
When I go to the list of users
Then I should see "resolve"
Then I should see "resolve"
2 changes: 1 addition & 1 deletion features/step_definitions/refinery/user_steps.rb
Expand Up @@ -16,7 +16,7 @@ def login
login
end

Given /^I have a user named (.*)$/ do |name|
Given /^I have a user named "(.*)"$/ do |name|
Factory(:user, :login => name)
end

Expand Down

0 comments on commit ac8daef

Please sign in to comment.