diff options
author | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2016-01-27 00:27:28 +0100 |
---|---|---|
committer | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2016-01-27 01:50:47 +0100 |
commit | 8cac49181e39a3a4b74555e12ad4688a345467f8 (patch) | |
tree | c3bec8fc22b7f1d2f37c6f218b4a5c345f990c08 /test | |
parent | b127a972d43c6069bd054c6b0ad7fbf316c7e788 (diff) | |
download | ecs2-8cac49181e39a3a4b74555e12ad4688a345467f8.tar.gz ecs2-8cac49181e39a3a4b74555e12ad4688a345467f8.zip |
Add reset action button.
Add new reset action to admin participant.
Also introduced action buttons (delete and reset).
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/admin/participants_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/admin/participants_controller_test.rb b/test/functional/admin/participants_controller_test.rb index b9133a9..a521ea6 100644 --- a/test/functional/admin/participants_controller_test.rb +++ b/test/functional/admin/participants_controller_test.rb @@ -39,7 +39,7 @@ class Admin::ParticipantsControllerTest < ActionController::TestCase assert_difference('Participant.count') do post :create, params end - assert_equal('Participant was successfully created.',flash[:notice]) + assert_equal('Participant "testclient" was successfully created.',flash[:notice]) assert_equal(communities(:wuv).id, Participant.find_by_name("testclient").communities.first.id) assert_equal(1,Participant.find_by_name("testclient").memberships.first.membership_messages.count) end |