mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-22 18:20:12 +01:00
update cucumber and refactor some of the stories
inspired by the railscasts about cucumber. Also fix a problem with ZenTest on case sensitive platforms
This commit is contained in:
parent
bdddac5020
commit
2073f84cd8
11 changed files with 90 additions and 128 deletions
6
spec/factories.rb
Normal file
6
spec/factories.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
Factory.define :user do |u|
|
||||
u.sequence(:login) { |n| "testuser#{n}" }
|
||||
u.password "secret"
|
||||
u.password_confirmation { |user| user.password }
|
||||
u.is_admin false
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue