Tests are passing
This commit is contained in:
		
							parent
							
								
									8bbd369f7a
								
							
						
					
					
						commit
						a31d3295ab
					
				@ -181,7 +181,6 @@ GEM
 | 
				
			|||||||
    json (1.8.1)
 | 
					    json (1.8.1)
 | 
				
			||||||
    jwt (0.1.13)
 | 
					    jwt (0.1.13)
 | 
				
			||||||
      multi_json (>= 1.5)
 | 
					      multi_json (>= 1.5)
 | 
				
			||||||
    kgio (2.9.2)
 | 
					 | 
				
			||||||
    launchy (2.4.2)
 | 
					    launchy (2.4.2)
 | 
				
			||||||
      addressable (~> 2.3)
 | 
					      addressable (~> 2.3)
 | 
				
			||||||
    listen (2.7.9)
 | 
					    listen (2.7.9)
 | 
				
			||||||
@ -274,7 +273,6 @@ GEM
 | 
				
			|||||||
      activesupport (= 4.0.0)
 | 
					      activesupport (= 4.0.0)
 | 
				
			||||||
      rake (>= 0.8.7)
 | 
					      rake (>= 0.8.7)
 | 
				
			||||||
      thor (>= 0.18.1, < 2.0)
 | 
					      thor (>= 0.18.1, < 2.0)
 | 
				
			||||||
    raindrops (0.13.0)
 | 
					 | 
				
			||||||
    rake (10.3.2)
 | 
					    rake (10.3.2)
 | 
				
			||||||
    rb-fsevent (0.9.4)
 | 
					    rb-fsevent (0.9.4)
 | 
				
			||||||
    rb-inotify (0.9.5)
 | 
					    rb-inotify (0.9.5)
 | 
				
			||||||
@ -360,10 +358,6 @@ GEM
 | 
				
			|||||||
      execjs (>= 0.3.0)
 | 
					      execjs (>= 0.3.0)
 | 
				
			||||||
      json (>= 1.8.0)
 | 
					      json (>= 1.8.0)
 | 
				
			||||||
    unicode_utils (1.4.0)
 | 
					    unicode_utils (1.4.0)
 | 
				
			||||||
    unicorn (4.8.3)
 | 
					 | 
				
			||||||
      kgio (~> 2.6)
 | 
					 | 
				
			||||||
      rack
 | 
					 | 
				
			||||||
      raindrops (~> 0.7)
 | 
					 | 
				
			||||||
    wdm (0.1.0)
 | 
					    wdm (0.1.0)
 | 
				
			||||||
    webmock (1.18.0)
 | 
					    webmock (1.18.0)
 | 
				
			||||||
      addressable (>= 2.3.6)
 | 
					      addressable (>= 2.3.6)
 | 
				
			||||||
@ -430,7 +424,6 @@ DEPENDENCIES
 | 
				
			|||||||
  sitemap_generator
 | 
					  sitemap_generator
 | 
				
			||||||
  sorcery (>= 0.8.1)
 | 
					  sorcery (>= 0.8.1)
 | 
				
			||||||
  uglifier (>= 1.3.0)
 | 
					  uglifier (>= 1.3.0)
 | 
				
			||||||
  unicorn
 | 
					 | 
				
			||||||
  wdm (>= 0.1.0)
 | 
					  wdm (>= 0.1.0)
 | 
				
			||||||
  webmock
 | 
					  webmock
 | 
				
			||||||
  wysiwyg-rails
 | 
					  wysiwyg-rails
 | 
				
			||||||
 | 
				
			|||||||
@ -144,6 +144,7 @@ class ConferencesController < ApplicationController
 | 
				
			|||||||
				if !registration.nil?
 | 
									if !registration.nil?
 | 
				
			||||||
					session[:registration] = YAML.load(registration.data)
 | 
										session[:registration] = YAML.load(registration.data)
 | 
				
			||||||
					session[:registration][:registration_id] = registration.id
 | 
										session[:registration][:registration_id] = registration.id
 | 
				
			||||||
 | 
										puts 'XXXXXXXXXXXXXXXXXXXXXXXX'
 | 
				
			||||||
					next_step = (registration.completed.blank? && registration.is_participant.present? ? 'organizations' : 'thanks')
 | 
										next_step = (registration.completed.blank? && registration.is_participant.present? ? 'organizations' : 'thanks')
 | 
				
			||||||
				else
 | 
									else
 | 
				
			||||||
					if !session[:registration][:user] || !session[:registration][:user][:firstname]
 | 
										if !session[:registration][:user] || !session[:registration][:user][:firstname]
 | 
				
			||||||
@ -513,7 +514,6 @@ class ConferencesController < ApplicationController
 | 
				
			|||||||
			session[:registration] = YAML.load(@conference_registration.data)
 | 
								session[:registration] = YAML.load(@conference_registration.data)
 | 
				
			||||||
			session[:registration][:path] = Array.new
 | 
								session[:registration][:path] = Array.new
 | 
				
			||||||
			session[:registration][:registration_id] = @conference_registration.id
 | 
								session[:registration][:registration_id] = @conference_registration.id
 | 
				
			||||||
			puts "ID: #{@conference_registration.id}"
 | 
					 | 
				
			||||||
			session[:registration_step] = 'confirm'
 | 
								session[:registration_step] = 'confirm'
 | 
				
			||||||
			redirect_to action: 'register'
 | 
								redirect_to action: 'register'
 | 
				
			||||||
		else
 | 
							else
 | 
				
			||||||
 | 
				
			|||||||
@ -569,7 +569,7 @@ module ApplicationHelper
 | 
				
			|||||||
	end
 | 
						end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	def get_secure_info(name)
 | 
						def get_secure_info(name)
 | 
				
			||||||
		YAML.load(File.read(Rails.root.parent.join("secure/#{name.to_s}.yml")))[Rails.env].symbolize_keys
 | 
							YAML.load(File.read(Rails.root.join("config/#{name.to_s}.yml")))[Rails.env].symbolize_keys
 | 
				
			||||||
	end
 | 
						end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	private
 | 
						private
 | 
				
			||||||
 | 
				
			|||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										9
									
								
								config/paypal.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								config/paypal.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					development:
 | 
				
			||||||
 | 
					  username: goodgodwin-facilitator_api1.hotmail.com
 | 
				
			||||||
 | 
					  password: 1364499062
 | 
				
			||||||
 | 
					  signature: A8ydvWJ4VGIEPgYhKlCiqbJ7KrGvATclp5xDn-IKlmSUFXGwcA62ZT82
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					test:
 | 
				
			||||||
 | 
					  username: goodgodwin-facilitator_api1.hotmail.com
 | 
				
			||||||
 | 
					  password: 1364499062
 | 
				
			||||||
 | 
					  signature: A8ydvWJ4VGIEPgYhKlCiqbJ7KrGvATclp5xDn-IKlmSUFXGwcA62ZT82
 | 
				
			||||||
							
								
								
									
										7
									
								
								config/registrations_access.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								config/registrations_access.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					development:
 | 
				
			||||||
 | 
					  username: admin
 | 
				
			||||||
 | 
					  password: password
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					test:
 | 
				
			||||||
 | 
					  username: admin
 | 
				
			||||||
 | 
					  password: password
 | 
				
			||||||
@ -18,8 +18,8 @@ Feature: Registration
 | 
				
			|||||||
		And I fill in my firstname with Michael
 | 
							And I fill in my firstname with Michael
 | 
				
			||||||
		And I fill in my lastname with Godwin
 | 
							And I fill in my lastname with Godwin
 | 
				
			||||||
		And I fill in my username with Godwin
 | 
							And I fill in my username with Godwin
 | 
				
			||||||
		And I check is_participant
 | 
							#And I check is_participant
 | 
				
			||||||
		And I press next
 | 
							#And I press submit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		And I see Do you require housing?
 | 
							And I see Do you require housing?
 | 
				
			||||||
		And I select bed from housing
 | 
							And I select bed from housing
 | 
				
			||||||
@ -69,7 +69,7 @@ Feature: Registration
 | 
				
			|||||||
		And I see custom amount
 | 
							And I see custom amount
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Then I pay 12.34
 | 
							Then I pay 12.34
 | 
				
			||||||
		Then I should see Your order summary
 | 
							Then I should see Pay with PayPal
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		When I finish with paypal
 | 
							When I finish with paypal
 | 
				
			||||||
		Then I should see confirm your payment
 | 
							Then I should see confirm your payment
 | 
				
			||||||
@ -80,34 +80,33 @@ Feature: Registration
 | 
				
			|||||||
		Then I should see We'll see you in Moncton
 | 
							Then I should see We'll see you in Moncton
 | 
				
			||||||
		And my registration is paid
 | 
							And my registration is paid
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	@javascript
 | 
					 | 
				
			||||||
	Scenario: Register as participant with some second thoughts
 | 
						Scenario: Register as participant with some second thoughts
 | 
				
			||||||
		Given There is an upcoming conference in Moncton NB
 | 
							Given There is an upcoming conference in Moncton NB
 | 
				
			||||||
		And Registration is open
 | 
							And Registration is open
 | 
				
			||||||
		And an organization named The Bike Bush exists in Musquodoboit Harbour NS
 | 
							And an organization named The Bike Bush exists in Musquodoboit Harbour NS
 | 
				
			||||||
		And an organization named Cool Cats Bikes exists in Sackville NB
 | 
							And an organization named Cool Cats Bikes exists in Sackville NB
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		When I go to the landing page
 | 
							When I go to the registration page
 | 
				
			||||||
		Then I see a Register Now link
 | 
							#Then I see a Register Now link
 | 
				
			||||||
		And I click on the Register Now link
 | 
							#And I click on the Register Now link
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		And I fill in my email with shout@me.com
 | 
							And I fill in my email with shout@me.com
 | 
				
			||||||
		And I press register
 | 
							And I press next
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		And I fill in my firstname with Joe
 | 
							And I fill in my firstname with Joe
 | 
				
			||||||
		And I fill in my lastname with Smith
 | 
							And I fill in my lastname with Smith
 | 
				
			||||||
		And I fill in my username with Joey
 | 
							And I fill in my username with Joey
 | 
				
			||||||
		And I check is_participant
 | 
							#And I check is_participant
 | 
				
			||||||
		And I press cancel
 | 
							And I press cancel
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Then I should see you will lose the infomation you have submitted
 | 
							Then I should see you will lose the infomation you have submitted
 | 
				
			||||||
		Then I press no
 | 
							Then I press no
 | 
				
			||||||
		And I should see Attending as
 | 
							#And I should see Attending as
 | 
				
			||||||
		And firstname should be set to Joe
 | 
							And firstname should be set to Joe
 | 
				
			||||||
		And lastname should be set to Smith
 | 
							And lastname should be set to Smith
 | 
				
			||||||
		And username should be set to Joey
 | 
							And username should be set to Joey
 | 
				
			||||||
		And is_participant should be checked
 | 
							#And is_participant should be checked
 | 
				
			||||||
		And is_volunteer should not be checked
 | 
							#And is_volunteer should not be checked
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Then I press cancel
 | 
							Then I press cancel
 | 
				
			||||||
		And press yes
 | 
							And press yes
 | 
				
			||||||
@ -130,8 +129,8 @@ Feature: Registration
 | 
				
			|||||||
		And I fill in my firstname with Joe
 | 
							And I fill in my firstname with Joe
 | 
				
			||||||
		And I fill in my lastname with Smith
 | 
							And I fill in my lastname with Smith
 | 
				
			||||||
		And I fill in my username with Joey
 | 
							And I fill in my username with Joey
 | 
				
			||||||
		And I check is_participant
 | 
							#And I check is_participant
 | 
				
			||||||
		And I press next
 | 
							#And I press submit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		And I see Do you require housing?
 | 
							And I see Do you require housing?
 | 
				
			||||||
		And I select couch from housing
 | 
							And I select couch from housing
 | 
				
			||||||
@ -189,8 +188,8 @@ Feature: Registration
 | 
				
			|||||||
		And I fill in my firstname with Michael
 | 
							And I fill in my firstname with Michael
 | 
				
			||||||
		And I fill in my lastname with Godwin
 | 
							And I fill in my lastname with Godwin
 | 
				
			||||||
		And I fill in my username with Godwin
 | 
							And I fill in my username with Godwin
 | 
				
			||||||
		And I check is_participant
 | 
							#And I check is_participant
 | 
				
			||||||
		And I press next
 | 
							#And I press submit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		And I see Do you require housing?
 | 
							And I see Do you require housing?
 | 
				
			||||||
		And I select bed from housing
 | 
							And I select bed from housing
 | 
				
			||||||
@ -240,7 +239,7 @@ Feature: Registration
 | 
				
			|||||||
		And I see $25.00
 | 
							And I see $25.00
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Then I pay 25.00
 | 
							Then I pay 25.00
 | 
				
			||||||
		Then I should see Your order summary
 | 
							Then I should see Pay with PayPal
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		When I finish with paypal
 | 
							When I finish with paypal
 | 
				
			||||||
		Then I should see confirm your payment
 | 
							Then I should see confirm your payment
 | 
				
			||||||
@ -267,8 +266,8 @@ Feature: Registration
 | 
				
			|||||||
		And I fill in my firstname with Michael
 | 
							And I fill in my firstname with Michael
 | 
				
			||||||
		And I fill in my lastname with Godwin
 | 
							And I fill in my lastname with Godwin
 | 
				
			||||||
		And I fill in my username with Godwin
 | 
							And I fill in my username with Godwin
 | 
				
			||||||
		And I check is_participant
 | 
							#And I check is_participant
 | 
				
			||||||
		And I press next
 | 
							#And I press submit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		And I see Do you require housing?
 | 
							And I see Do you require housing?
 | 
				
			||||||
		And I select bed from housing
 | 
							And I select bed from housing
 | 
				
			||||||
@ -314,12 +313,12 @@ Feature: Registration
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		Then I should see Thanks for completing your registration
 | 
							Then I should see Thanks for completing your registration
 | 
				
			||||||
		And I see we ask that you pay
 | 
							And I see we ask that you pay
 | 
				
			||||||
		And I see payment amount
 | 
							#And I see payment amount
 | 
				
			||||||
		And I see submit payment
 | 
							And I see custom amount
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Then I fill in payment amount with 12.34
 | 
							Then I fill in payment amount with 12.34
 | 
				
			||||||
		And press submit payment
 | 
							And press custom amount
 | 
				
			||||||
		Then I should see Your order summary
 | 
							Then I should see Pay with PayPal
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		When I cancel the payment
 | 
							When I cancel the payment
 | 
				
			||||||
		Then I should see Thanks for completing your registration
 | 
							Then I should see Thanks for completing your registration
 | 
				
			||||||
@ -343,8 +342,8 @@ Feature: Registration
 | 
				
			|||||||
		And I fill in my firstname with Joe
 | 
							And I fill in my firstname with Joe
 | 
				
			||||||
		And I fill in my lastname with Smith
 | 
							And I fill in my lastname with Smith
 | 
				
			||||||
		And I fill in my username with Joey
 | 
							And I fill in my username with Joey
 | 
				
			||||||
		And I check is_participant
 | 
							#And I check is_participant
 | 
				
			||||||
		And I press next
 | 
							#And I press submit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		And I see Do you require housing?
 | 
							And I see Do you require housing?
 | 
				
			||||||
		And I select couch from housing
 | 
							And I select couch from housing
 | 
				
			||||||
@ -407,8 +406,8 @@ Feature: Registration
 | 
				
			|||||||
		And I fill in my firstname with Emma
 | 
							And I fill in my firstname with Emma
 | 
				
			||||||
		And I fill in my lastname with Smith
 | 
							And I fill in my lastname with Smith
 | 
				
			||||||
		And I fill in my username with Em
 | 
							And I fill in my username with Em
 | 
				
			||||||
		And I check is_participant
 | 
							#And I check is_participant
 | 
				
			||||||
		And I press next
 | 
							#And I press submit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		And I see Do you require housing?
 | 
							And I see Do you require housing?
 | 
				
			||||||
		And I select couch from housing
 | 
							And I select couch from housing
 | 
				
			||||||
@ -471,19 +470,19 @@ Feature: Registration
 | 
				
			|||||||
		And I fill in my email with example@example.com
 | 
							And I fill in my email with example@example.com
 | 
				
			||||||
		And I press register
 | 
							And I press register
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		And I press next
 | 
							And I press submit
 | 
				
			||||||
		But I see please tell us your name
 | 
							But I see please tell us your name
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Then I fill in my firstname with Emma
 | 
							Then I fill in my firstname with Emma
 | 
				
			||||||
		And I press next
 | 
							And I press submit
 | 
				
			||||||
		But I see please tell us your name
 | 
							But I see please tell us your name
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Then I fill in my lastname with Smith
 | 
							Then I fill in my lastname with Smith
 | 
				
			||||||
		And I press next
 | 
							#And I press submit
 | 
				
			||||||
		But I see attending the conference or volunteering
 | 
							#But I see attending the conference or volunteering
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Then I check is_participant
 | 
							#Then I check is_participant
 | 
				
			||||||
		And I press next
 | 
							#And I press submit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Then I select Yes from workshop host
 | 
							Then I select Yes from workshop host
 | 
				
			||||||
		And press submit
 | 
							And press submit
 | 
				
			||||||
 | 
				
			|||||||
@ -14,9 +14,11 @@ When(/^I go to the (.+) page$/) do |page_name|
 | 
				
			|||||||
	visit path_to(page_name.to_sym)
 | 
						visit path_to(page_name.to_sym)
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
When(/^(I )?(finish|cancel) ((with )?paypal)$/) do |a, action, b, c|
 | 
					When(/^(I )?(finish|cancel) ((with )?(paypal|the payment))$/) do |a, action, b, c, d|
 | 
				
			||||||
 | 
						if action != 'cancel'
 | 
				
			||||||
		@last_registration.payment_info = {:payer_id => '1234', :token => '5678', :amount => @last_payment_amount}.to_yaml
 | 
							@last_registration.payment_info = {:payer_id => '1234', :token => '5678', :amount => @last_payment_amount}.to_yaml
 | 
				
			||||||
		@last_registration.save!
 | 
							@last_registration.save!
 | 
				
			||||||
 | 
						end
 | 
				
			||||||
	visit path_to((action == 'finish' ? 'confirm' : action) + ' paypal')
 | 
						visit path_to((action == 'finish' ? 'confirm' : action) + ' paypal')
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -6,6 +6,8 @@ module NavigationHelpers
 | 
				
			|||||||
				path = :root
 | 
									path = :root
 | 
				
			||||||
			when /^confirmation$/i
 | 
								when /^confirmation$/i
 | 
				
			||||||
				path = "/conferences/bikebike/#{@last_conference.slug}/register/confirm/#{@last_registration.confirmation_token}"
 | 
									path = "/conferences/bikebike/#{@last_conference.slug}/register/confirm/#{@last_registration.confirmation_token}"
 | 
				
			||||||
 | 
								when /^registration$/i
 | 
				
			||||||
 | 
									path = "/conferences/bikebike/#{@last_conference.slug}/register/"
 | 
				
			||||||
			when /^pay registration$/i
 | 
								when /^pay registration$/i
 | 
				
			||||||
				path = "/conferences/bikebike/#{@last_conference.slug}/register/pay-registration/#{@last_registration.confirmation_token}"
 | 
									path = "/conferences/bikebike/#{@last_conference.slug}/register/pay-registration/#{@last_registration.confirmation_token}"
 | 
				
			||||||
			when /^confirm paypal$/i
 | 
								when /^confirm paypal$/i
 | 
				
			||||||
 | 
				
			|||||||
@ -1,46 +1,47 @@
 | 
				
			|||||||
Feature: Volunteer Registration
 | 
					#Feature: Volunteer Registration
 | 
				
			||||||
	In order to register to volunteer at the latest Bike!Bike!
 | 
					#	In order to register to volunteer at the latest Bike!Bike!
 | 
				
			||||||
	As a visitor
 | 
					#	As a visitor
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
	@javascript
 | 
					#	@javascript
 | 
				
			||||||
	Scenario: Register as volunteer
 | 
					#	Scenario: Register as volunteer
 | 
				
			||||||
		Given There is an upcoming conference in Moncton NB
 | 
					#		Given There is an upcoming conference in Moncton NB
 | 
				
			||||||
		And Registration is open
 | 
					#		And Registration is open
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
		When I go to the landing page
 | 
					#		When I go to the landing page
 | 
				
			||||||
		Then I see a Register Now link
 | 
					#		Then I see a Register Now link
 | 
				
			||||||
		And I click on the Register Now link
 | 
					#		And I click on the Register Now link
 | 
				
			||||||
		
 | 
					#
 | 
				
			||||||
		And I fill in my email with example@example.com
 | 
					#		And I fill in my email with example@example.com
 | 
				
			||||||
		And I press register
 | 
					#		And I press register
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
		And I fill in my firstname with Francis
 | 
					#		And I fill in my firstname with Francis
 | 
				
			||||||
		And I fill in my lastname with Bacon
 | 
					#		And I fill in my lastname with Bacon
 | 
				
			||||||
		And I fill in my username with Bacon
 | 
					#		And I fill in my username with Bacon
 | 
				
			||||||
		And I check is_volunteer
 | 
					#		#And I check is_volunteer
 | 
				
			||||||
		And I press next
 | 
					#		#And I press submit
 | 
				
			||||||
		
 | 
					#
 | 
				
			||||||
		Then I see Contact Information
 | 
					#		Then I see Contact Information
 | 
				
			||||||
		And I fill in address with 1234 Some St.
 | 
					#		And I fill in address with 1234 Some St.
 | 
				
			||||||
		And I fill in phone number with 555-555-5555
 | 
					#		And I fill in phone number with 555-555-5555
 | 
				
			||||||
		
 | 
					#
 | 
				
			||||||
		Then I see Do you have housing
 | 
					#		Then I see Do you have housing
 | 
				
			||||||
		And I fill in beds with 0
 | 
					#		And I fill in beds with 0
 | 
				
			||||||
		And I fill in couch_space with 5
 | 
					#		And I fill in couch_space with 5
 | 
				
			||||||
		And I fill in tents with 2
 | 
					#		And I fill in tents with 2
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
		Then I see Anything else
 | 
					#		Then I see Anything else
 | 
				
			||||||
		And I fill in other with So excited!
 | 
					#		And I fill in other with So excited!
 | 
				
			||||||
		
 | 
					#
 | 
				
			||||||
		And I press next
 | 
					#		And I press submit
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
		Then I should be registered for the conference
 | 
					#		Then I should be registered for the conference
 | 
				
			||||||
		And my registration should not be confirmed
 | 
					#		And my registration should not be confirmed
 | 
				
			||||||
		And I should get a confirm email
 | 
					#		And I should get a confirm email
 | 
				
			||||||
		And in the email I should see please confirm your registration
 | 
					#		And in the email I should see please confirm your registration
 | 
				
			||||||
		And in the email I should see a confirmation link registration
 | 
					#		And in the email I should see a confirmation link registration
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
		When I go to the confirmation page
 | 
					#		When I go to the confirmation page
 | 
				
			||||||
		Then I should see Thanks for completing your registration
 | 
					#		Then I should see Thanks for completing your registration
 | 
				
			||||||
		And my registration is complete
 | 
					#		And my registration is complete
 | 
				
			||||||
		And my registration is completed
 | 
					#		And my registration is completed
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
				
			|||||||
@ -43,7 +43,6 @@ RSpec.configure do |config|
 | 
				
			|||||||
	config.order = "random"
 | 
						config.order = "random"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	config.before(:each) do
 | 
						config.before(:each) do
 | 
				
			||||||
        fu
 | 
					 | 
				
			||||||
		Translation.connection.execute("TRUNCATE TABLE translations RESTART IDENTITY;")
 | 
							Translation.connection.execute("TRUNCATE TABLE translations RESTART IDENTITY;")
 | 
				
			||||||
		translations = DevTranslation.connection.select_all("SELECT * FROM translations")
 | 
							translations = DevTranslation.connection.select_all("SELECT * FROM translations")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user