mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-16 04:08:08 +01:00
A few minor changes and bug fixes:
* On first user signup, the user no longer needs to login and after signing up. They are automatically logged in. * The Projects page was showing the name of the last project listed in the new project form. It is now appropriately blank. * When trying to create a new action, an error was occurring trying to update tags if the action failed to save. We now only try to update tags if the action saved. I wonder if we should be using some sort of ActiveRecord transaction here. If anyone knows about this, please contact me. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@481 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
38b2e336a8
commit
5a878b3e84
6 changed files with 11 additions and 5 deletions
|
|
@ -5,6 +5,4 @@ type "user_login", "admin"
|
|||
type "user_password", "abracadabra"
|
||||
type "user_password_confirmation", "abracadabra"
|
||||
click_and_wait "signup"
|
||||
assert_title 'exact:TRACKS::Login'
|
||||
include_partial 'login/login', :username => 'admin', :password => 'abracadabra'
|
||||
assert_title 'exact:TRACKS::List tasks'
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ type "//div[@id='edit_project_2'] //input[@name='project[name]']", "become a bil
|
|||
click "//div[@id='edit_project_2'] //input[@value='Update']"
|
||||
wait_for_not_visible "edit_project_2"
|
||||
wait_for_visible "project_2"
|
||||
wait_for_visible "flash"
|
||||
wait_for_not_visible "flash"
|
||||
click "css=#project_2 .buttons img.delete_item"
|
||||
assert_confirmation "Are you sure that you want to delete the project 'become a billionaire'?"
|
||||
wait_for_visible "flash"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue