Commit c995df4c2c34ed7e831482864a62cb1c77616d7f
1 parent
54342a30
Exists in
master
and in
23 other branches
Fix terminology test
For some reason terminology was being assigned twice and the test was failing.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/functional/application_controller_test.rb
| ... | ... | @@ -245,8 +245,8 @@ class ApplicationControllerTest < ActionController::TestCase |
| 245 | 245 | env.stubs(:terminology).returns(term) |
| 246 | 246 | env.stubs(:id).returns(-9999) |
| 247 | 247 | |
| 248 | - Noosfero.expects(:terminology=).with(term) | |
| 249 | 248 | get :index |
| 249 | + assert_equal Noosfero.terminology, term | |
| 250 | 250 | end |
| 251 | 251 | |
| 252 | 252 | should 'not display categories menu if categories feature disabled' do | ... | ... |