Commit 953ad391f5eeb50f6ca7fe724e3df5bc7ea6c7e5
1 parent
c3b9486b
Exists in
master
and in
29 other branches
remove reference to enterprise_template= method
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/unit/enterprise_test.rb
... | ... | @@ -169,7 +169,7 @@ class EnterpriseTest < ActiveSupport::TestCase |
169 | 169 | |
170 | 170 | e = Environment.default |
171 | 171 | e.replace_enterprise_template_when_enable = true |
172 | - e.enterprise_template = template | |
172 | + e.enterprise_default_template = template | |
173 | 173 | e.save! |
174 | 174 | |
175 | 175 | ent = fast_create(Enterprise, :name => 'test enteprise', :identifier => 'test_ent', :enabled => false) |
... | ... | @@ -192,7 +192,7 @@ class EnterpriseTest < ActiveSupport::TestCase |
192 | 192 | |
193 | 193 | e = Environment.default |
194 | 194 | e.inactive_enterprise_template = inactive_template |
195 | - e.enterprise_template = active_template | |
195 | + e.enterprise_default_template = active_template | |
196 | 196 | e.save! |
197 | 197 | |
198 | 198 | ent = create(Enterprise, :name => 'test enteprise', :identifier => 'test_ent', :enabled => false) | ... | ... |