Compare commits
6 Commits
master
...
developmen
Author | SHA1 | Date | |
---|---|---|---|
|
b956a97461 | ||
|
dc92aa9013 | ||
|
f7000e41fa | ||
|
a54546976d | ||
|
95db14ad5e | ||
|
b4685a972e |
6
Rakefile
6
Rakefile
@ -71,6 +71,12 @@ task :i18n do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
task 'i18n:debug' do
|
||||||
|
ENV['I18N_DEBUG'] = '1'
|
||||||
|
Rake::Task['i18n'].execute
|
||||||
|
ENV['I18N_DEBUG'] = '0'
|
||||||
|
end
|
||||||
|
|
||||||
task :css do
|
task :css do
|
||||||
ENV['CSS_TEST'] = '1'
|
ENV['CSS_TEST'] = '1'
|
||||||
Rake::Task['cucumber:run'].execute
|
Rake::Task['cucumber:run'].execute
|
||||||
|
@ -3355,7 +3355,8 @@ body.policy .policy-agreement ul {
|
|||||||
height: 1.25em;
|
height: 1.25em;
|
||||||
line-height: 1.25em;
|
line-height: 1.25em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 0;// 0.3333em 0 0;
|
margin: 0;
|
||||||
|
text-shadow: 0.0333em 0.0333em 0.06667em $black;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ class ConferencesController < ApplicationController
|
|||||||
return redirect_to pp_response.redirect_uri
|
return redirect_to pp_response.redirect_uri
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
begin
|
||||||
# get the current step
|
# get the current step
|
||||||
@step = current_registration_step(@this_conference, current_user)
|
@step = current_registration_step(@this_conference, current_user)
|
||||||
|
|
||||||
@ -97,6 +97,11 @@ class ConferencesController < ApplicationController
|
|||||||
result = registration_step(@step, @this_conference, current_user)
|
result = registration_step(@step, @this_conference, current_user)
|
||||||
# pass any data on to the view
|
# pass any data on to the view
|
||||||
data_to_instance_variables(result)
|
data_to_instance_variables(result)
|
||||||
|
rescue Exception => e
|
||||||
|
puts e
|
||||||
|
puts e.backtrace.join("\n")
|
||||||
|
raise e
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if request.xhr?
|
if request.xhr?
|
||||||
|
@ -111,6 +111,10 @@ def create_registration(user = TestState.my_account)
|
|||||||
'group_ride' => true
|
'group_ride' => true
|
||||||
}
|
}
|
||||||
registration.housing_data = { 'other' => '', 'companion' => false }
|
registration.housing_data = { 'other' => '', 'companion' => false }
|
||||||
|
|
||||||
|
registration.city_id = City.search('Los Angeles').id unless City.exists?(registration.city_id)
|
||||||
|
registration.data['city_id'] = City.search('Montreal').id unless City.exists?(registration.data['city_id'])
|
||||||
|
|
||||||
registration.save!
|
registration.save!
|
||||||
|
|
||||||
if user == TestState.my_account
|
if user == TestState.my_account
|
||||||
|
1
features/support/location_cache.json
Normal file
1
features/support/location_cache.json
Normal file
File diff suppressed because one or more lines are too long
@ -1,51 +0,0 @@
|
|||||||
---
|
|
||||||
Brooklyn NY: !ruby/object:Geocoder::Result::Google
|
|
||||||
data:
|
|
||||||
address_components:
|
|
||||||
- long_name: Brooklyn
|
|
||||||
short_name: Brooklyn
|
|
||||||
types:
|
|
||||||
- political
|
|
||||||
- sublocality
|
|
||||||
- sublocality_level_1
|
|
||||||
- long_name: Kings County
|
|
||||||
short_name: Kings County
|
|
||||||
types:
|
|
||||||
- administrative_area_level_2
|
|
||||||
- political
|
|
||||||
- long_name: New York
|
|
||||||
short_name: NY
|
|
||||||
types:
|
|
||||||
- administrative_area_level_1
|
|
||||||
- political
|
|
||||||
- long_name: United States
|
|
||||||
short_name: US
|
|
||||||
types:
|
|
||||||
- country
|
|
||||||
- political
|
|
||||||
formatted_address: Brooklyn, NY, USA
|
|
||||||
geometry:
|
|
||||||
bounds:
|
|
||||||
northeast:
|
|
||||||
lat: 40.739446
|
|
||||||
lng: -73.8333651
|
|
||||||
southwest:
|
|
||||||
lat: 40.551042
|
|
||||||
lng: -74.05663
|
|
||||||
location:
|
|
||||||
lat: 40.6781784
|
|
||||||
lng: -73.9441579
|
|
||||||
location_type: APPROXIMATE
|
|
||||||
viewport:
|
|
||||||
northeast:
|
|
||||||
lat: 40.739446
|
|
||||||
lng: -73.8333651
|
|
||||||
southwest:
|
|
||||||
lat: 40.551042
|
|
||||||
lng: -74.05663
|
|
||||||
place_id: ChIJCSF8lBZEwokRhngABHRcdoI
|
|
||||||
types:
|
|
||||||
- political
|
|
||||||
- sublocality
|
|
||||||
- sublocality_level_1
|
|
||||||
cache_hit:
|
|
Loading…
x
Reference in New Issue
Block a user