Commit 3861f942a7eb760069e11b013a5a980b4b3e44cc

Authored by Antonio Terceiro
1 parent b0cf80d7

Fixing maps controller test

(ActionItem1256)
Showing 1 changed file with 6 additions and 1 deletions   Show diff stats
test/functional/maps_controller_test.rb
... ... @@ -36,8 +36,13 @@ class MapsControllerTest < Test::Unit::TestCase
36 36 end
37 37  
38 38 should 'dispĺay form for address with profile address' do
  39 + env = Environment.default
  40 + env.custom_person_fields = { 'city' => { 'active' => 'true' } }
  41 + env.save!
  42 +
  43 +
39 44 get :edit_location, :profile => profile.identifier
40   - assert_tag :tag => 'input', :attributes => { :name => 'location' }
  45 + assert_tag :tag => 'input', :attributes => { :name => 'profile_data[city]' }
41 46 end
42 47  
43 48 end
... ...