Skip to content

Commit 29a2cba

Browse files
committed
adjust whitespace
1 parent a14a8c4 commit 29a2cba

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/flowdock_test.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,28 @@ def setup
99
def test_push
1010
@tokens.to_s.split(",").each do |t|
1111
@stubs.post "/v1/github/#{t}" do |env|
12-
assert_match /json/, env[:request_headers]['content-type']
13-
assert_equal push_payload, JSON.parse(env[:body])
14-
[200, {}, '']
12+
assert_match /json/, env[:request_headers]['content-type']
13+
assert_equal push_payload, JSON.parse(env[:body])
14+
[200, {}, '']
1515
end
1616
end
1717

1818
svc = service(
1919
{'token' => @tokens}, push_payload)
20-
svc.receive_event
20+
svc.receive_event
2121
end
2222

2323
def test_token_sanitization
2424
@tokens.to_s.split(",").each do |t|
2525
@stubs.post "/v1/github/#{t}" do |env|
26-
assert_equal payload, JSON.parse(env[:body])
27-
[200, {}, '']
26+
assert_equal payload, JSON.parse(env[:body])
27+
[200, {}, '']
2828
end
2929
end
3030

3131
svc = service(
3232
{'token' => " " + @tokens + " "}, payload)
33-
svc.receive_event
33+
svc.receive_event
3434
end
3535

3636
def service(*args)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy