add cucumber scenarios for new preferences

This commit is contained in:
Reinier Balt 2011-08-18 12:48:59 +02:00
parent 555311b681
commit 40a7cc2d3a
9 changed files with 70 additions and 11 deletions

View file

@ -2,7 +2,7 @@ Given /^the following user records?$/ do |table|
User.delete_all
table.hashes.each do |hash|
user = Factory(:user, hash)
user.create_preference
user.create_preference({:locale => 'en'})
end
end