Commit ceea05c8fd65cef110c14ab5267134728943d7f7
1 parent
1f06b3f0
Exists in
master
and in
29 other branches
ActionItem14: marking TODO's for later
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@687 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
16 additions
and
3 deletions
Show diff stats
app/models/create_enterprise.rb
... | ... | @@ -85,13 +85,14 @@ class CreateEnterprise < Task |
85 | 85 | _('Enterprise registration: "%s"') % self.name |
86 | 86 | end |
87 | 87 | |
88 | - def create_message | |
88 | + def task_created_message | |
89 | + | |
89 | 90 | end |
90 | 91 | |
91 | - def finish_message | |
92 | + def task_finished_message | |
92 | 93 | end |
93 | 94 | |
94 | - def cancel_message | |
95 | + def task_cancelled_message | |
95 | 96 | end |
96 | 97 | |
97 | 98 | ... | ... |
test/unit/create_enterprise_test.rb
... | ... | @@ -106,4 +106,16 @@ class CreateEnterpriseTest < Test::Unit::TestCase |
106 | 106 | assert_equal person.user, enterprise.user |
107 | 107 | end |
108 | 108 | |
109 | + should 'give a proper "task created" message' do | |
110 | + flunk 'need to write this test' | |
111 | + end | |
112 | + | |
113 | + should 'give a proper "task finished" message' do | |
114 | + flunk 'need to write this test' | |
115 | + end | |
116 | + | |
117 | + should 'give a proper "task cancelled" message' do | |
118 | + flunk 'need to write this test' | |
119 | + end | |
120 | + | |
109 | 121 | end | ... | ... |