Commit 097ae209 authored by Joe Libipl's avatar Joe Libipl
Browse files

Linting

parent cbfd2e86
Pipeline #9498933 passed with stage
in 1 minute and 28 seconds
......@@ -10,7 +10,7 @@ class SMSBeholder < Sinatra::Base
source = params['From']
body = params['Body']
player_data[source] ||= {}
player_data[source] ||= {}
player_data[source]['state'] ||= 'SPLASH'
state = player_data[source]['state']
......@@ -33,7 +33,7 @@ class SMSBeholder < Sinatra::Base
puts player_data
# Fill in values in response
for key in player_data[source].keys
player_data[source].keys.each do |key|
response.gsub!(":#{key}:", player_data[source][key])
end
response
......
......@@ -52,7 +52,7 @@ describe SMSBeholder do
it 'lets you skip to a different state for testing' do
get '/', From: 'Dude7', SkipToState: 'D1S107'
expect(last_response.body).to include("Your brooding has distracted you")
expect(last_response.body).to include('Your brooding has distracted you')
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment