mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-07 08:21:47 +01:00
small improvements
render :partial => filename, :object => @object can be written shorter since rails 2.0 like render :partial => @object or render :partial => @collection Also form_for is smart bout put and post for update and creation. it helps watching older railcasts episodes :-)
This commit is contained in:
parent
edb3668dba
commit
484356fe07
15 changed files with 51 additions and 52 deletions
19
features/preferences.feature
Normal file
19
features/preferences.feature
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
Feature: Manage preferences
|
||||
In order to customize Tracks to my needs
|
||||
As a Tracks user
|
||||
I want to be be able change my preferences
|
||||
|
||||
Background:
|
||||
Given the following user record
|
||||
| login | password | is_admin |
|
||||
| testuser | secret | false |
|
||||
And I have logged in as "testuser" with password "secret"
|
||||
|
||||
Scenario: I can change my password
|
||||
Given this is a pending scenario
|
||||
|
||||
Scenario: I can generate a new token
|
||||
Given this is a pending scenario
|
||||
|
||||
Scenario: I can edit preferences
|
||||
Given this is a pending scenario
|
||||
Loading…
Add table
Add a link
Reference in a new issue