Multiple fixes for prod

This commit is contained in:
Godwin
2017-07-01 16:02:38 -07:00
parent c5143ddb0e
commit c28566e210
13 changed files with 137 additions and 103 deletions
+2 -4
View File
@@ -67,10 +67,8 @@ end
Given /^(?:I )?am an? (.+)$/i do |role|
if role == 'conference host'
org = TestState.last_conference.organizations.first
org.users ||= Array.new
org.users << TestState.my_account
org.save
TestState.last_conference.administrators << TestState.my_account
TestState.last_conference.save!
else
case role
when /(site )?admin(istrator)?/