diff --git a/spec/support/helper_methods.rb b/spec/support/helper_methods.rb index 81f825cb..1cc71b26 100644 --- a/spec/support/helper_methods.rb +++ b/spec/support/helper_methods.rb @@ -93,7 +93,7 @@ module Faraday def big_string kb = 1024 - (32..126).map{|i| i.chr}.cycle.take(50 * kb).join + (32..126).map {|i| i.chr}.cycle.take(50 * kb).join end end end diff --git a/test/adapters/test_middleware_test.rb b/test/adapters/test_middleware_test.rb index 91ff515b..873d1dbc 100644 --- a/test/adapters/test_middleware_test.rb +++ b/test/adapters/test_middleware_test.rb @@ -139,7 +139,7 @@ module Adapters def test_raises_an_error_if_no_stub_is_found_for_request assert_raises Stubs::NotFound do - @conn.get('/invalid'){ [200, {}, []] } + @conn.get('/invalid') { [200, {}, []] } end end diff --git a/test/shared.rb b/test/shared.rb index 1a0f0df0..927d950b 100644 --- a/test/shared.rb +++ b/test/shared.rb @@ -4,7 +4,7 @@ module Faraday module Shared def self.big_string kb = 1024 - (32..126).map{|i| i.chr}.cycle.take(50 * kb).join + (32..126).map {|i| i.chr}.cycle.take(50 * kb).join end def big_string