Mercurial > hg > soundsoftware-site
comparison test/functional/settings_controller_test.rb @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | cbce1fd3b1b7 |
children | 433d4f72a19b |
comparison
equal
deleted
inserted
replaced
908:c6c2cbd0afee | 909:cbb26bc654de |
---|---|
40 | 40 |
41 def test_get_edit | 41 def test_get_edit |
42 get :edit | 42 get :edit |
43 assert_response :success | 43 assert_response :success |
44 assert_template 'edit' | 44 assert_template 'edit' |
45 | |
46 assert_tag 'input', :attributes => {:name => 'settings[enabled_scm][]', :value => ''} | |
45 end | 47 end |
46 | 48 |
47 def test_post_edit_notifications | 49 def test_post_edit_notifications |
48 post :edit, :settings => {:mail_from => 'functional@test.foo', | 50 post :edit, :settings => {:mail_from => 'functional@test.foo', |
49 :bcc_recipients => '0', | 51 :bcc_recipients => '0', |