mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-28 12:58:48 +01:00
fix cucumber story
This commit is contained in:
parent
d931d4b627
commit
8a0da54808
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
Given /^the following user records?$/ do |table|
|
||||
User.delete_all
|
||||
table.hashes.each do |hash|
|
||||
user = Factory(:user, hash)
|
||||
user.create_preference
|
||||
|
|
@ -12,4 +13,4 @@ end
|
|||
Then "I should be an admin" do
|
||||
# just check on the presence of the menu item for managing users
|
||||
Then "I should see \"Manage users\""
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue