Commit 474f1f824efdfd094751c7d0a6356d974cba8a11

Authored by Antonio Terceiro
1 parent f145ca09

SearchControllerTest: fix test

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/functional/search_controller_test.rb
... ... @@ -202,7 +202,7 @@ class SearchControllerTest < ActionController::TestCase
202 202 end
203 203  
204 204 should 'paginate enterprise listing' do
205   - @controller.expects(:limit).returns(1)
  205 + @controller.expects(:limit).returns(1).at_least_once
206 206 ent1 = create_profile_with_optional_category(Enterprise, 'teste 1')
207 207 ent2 = create_profile_with_optional_category(Enterprise, 'teste 2')
208 208  
... ...