We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7487db2 + 9b27c24 commit d425decCopy full SHA for d425dec
spec/client_spec.rb
@@ -109,6 +109,10 @@
109
end
110
111
describe 'configuring from env' do
112
+ after do
113
+ ENV['PUSHER_URL'] = nil
114
+ end
115
+
116
it "works" do
117
url = "http://somekey:somesecret@api.staging.pusherapp.com:8080/apps/87"
118
ENV['PUSHER_URL'] = url
@@ -118,7 +122,6 @@
122
expect(client.secret).to eq("somesecret")
119
123
expect(client.app_id).to eq("87")
120
124
expect(client.url.to_s).to eq("http://api.staging.pusherapp.com:8080/apps/87")
121
- ENV['PUSHER_URL'] = nil
125
126
127
0 commit comments