fix cucumber story

This commit is contained in:
Reinier Balt 2009-06-30 12:22:17 +02:00
parent d931d4b627
commit 8a0da54808

View file

@ -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