Commit 929f96915f641520c3d66ee639ae31c28c1f5ba0
1 parent
fa998338
Exists in
master
and in
29 other branches
Fixing location test and also requiring https
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/unit/location_block_test.rb
... | ... | @@ -29,11 +29,11 @@ class LocationBlockTest < ActiveSupport::TestCase |
29 | 29 | assert_equal '', LocationBlock.new.title |
30 | 30 | end |
31 | 31 | |
32 | - should 'use google maps api v3' do | |
32 | + should 'use google maps api v3 with ssl' do | |
33 | 33 | @block.owner.lat = '-12.34'; @block.owner.save! |
34 | 34 | content = extract_block_content(@block.content) |
35 | 35 | |
36 | - assert_match 'http://maps.google.com/maps/api/staticmap', content | |
36 | + assert_match 'https://maps.google.com/maps/api/staticmap', content | |
37 | 37 | assert_no_match /key=/, content |
38 | 38 | end |
39 | 39 | ... | ... |