spec/support/test_app.rb in ably-0.1.6 vs spec/support/test_app.rb in ably-0.2.0
- old
+ new
@@ -1,6 +1,6 @@
-require "singleton"
+require 'singleton'
class TestApp
APP_SPEC = {
'keys' => [
{},
@@ -79,11 +79,11 @@
def create_test_app
url = "#{sandbox_client.endpoint}/apps"
headers = {
- "Accept" => "application/json",
- "Content-Type" => "application/json"
+ 'Accept' => 'application/json',
+ 'Content-Type' => 'application/json'
}
response = Faraday.post(url, APP_SPEC.to_json, headers)
@attributes = JSON.parse(response.body)