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.
1 parent 272c18b commit 6900d76Copy full SHA for 6900d76
spec/layer/connection_spec.rb
@@ -12,7 +12,11 @@
12
end
13
14
it "should return a connection containing default layer headers" do
15
- expect(@conn.headers).to include(@layer.default_layer_headers)
+ # Remove If-None-Match header since it's always going to be random
16
+ # and we can't compare it
17
+ default_headers = @layer.default_layer_headers.reject{|k, v| k == 'If-None-Match'}
18
+ expect(@conn.headers).to include(default_headers)
19
+ expect(@conn.headers).to include("If-None-Match")
20
21
22
it "should use custom api errors middleware" do
0 commit comments