Commit ab9416d56ceccecf55349f1c66bc44e235b48e35
1 parent
da0396de
Exists in
master
and in
29 other branches
search-controller-test: remove obsolete test since google.js must be included always
Showing
1 changed file
with
0 additions
and
19 deletions
Show diff stats
test/functional/search_controller_test.rb
... | ... | @@ -471,25 +471,6 @@ class SearchControllerTest < ActionController::TestCase |
471 | 471 | assert_tag :tag => 'script', :attributes => { :src => 'http://maps.google.com/maps/api/js?sensor=true'} |
472 | 472 | end |
473 | 473 | |
474 | - should 'not add script tag for google maps if searching articles' do | |
475 | - ent = create_profile_with_optional_category(Enterprise, 'teste') | |
476 | - get 'articles', :query => 'article', :display => 'map' | |
477 | - | |
478 | - assert_no_tag :tag => 'script', :attributes => { :src => 'http://maps.google.com/maps/api/js?sensor=true'} | |
479 | - end | |
480 | - | |
481 | - should 'not add script tag for google maps if searching people' do | |
482 | - get 'people', :query => 'person', :display => 'map' | |
483 | - | |
484 | - assert_no_tag :tag => 'script', :attributes => { :src => 'http://maps.google.com/maps/api/js?sensor=true'} | |
485 | - end | |
486 | - | |
487 | - should 'not add script tag for google maps if searching communities' do | |
488 | - get 'communities', :query => 'community', :display => 'map' | |
489 | - | |
490 | - assert_no_tag :tag => 'script', :attributes => { :src => 'http://maps.google.com/maps/api/js?sensor=true'} | |
491 | - end | |
492 | - | |
493 | 474 | should 'show events of specific day' do |
494 | 475 | person = create_user('anotheruser').person |
495 | 476 | event = create_event(person, :name => 'Joao Birthday', :start_date => Date.new(2009, 10, 28)) | ... | ... |