spec/spec_helper.rb in td-client-1.0.6 vs spec/spec_helper.rb in td-client-1.0.7
- old
+ new
@@ -47,14 +47,10 @@
let :account_id do
1
end
let :headers do
- if RUBY_VERSION >= "2.0.0"
- {'Accept' => '*/*', 'Accept-Encoding' => /gzip/, 'Date' => /.*/, 'User-Agent' => /Ruby/}
- else
- {'Accept' => '*/*', 'Date' => /.*/, 'User-Agent' => /Ruby/}
- end
+ {'Accept' => '*/*', 'Accept-Encoding' => /gzip/, 'Date' => /.*/, 'User-Agent' => /Ruby/}
end
def stub_api_request(method, path, opts = nil)
scheme = 'https'
with_opts = {:headers => headers}