spec/ogre/associate_spec.rb in ogre-0.1.5 vs spec/ogre/associate_spec.rb in ogre-0.1.6
- old
+ new
@@ -7,11 +7,11 @@
# remove sensitive authentication information from the recording
config.before_record do |interaction|
headers = interaction.request.headers
headers.keys
- .select { |k| k =~ /^X-Ops-(Authorization-|Content-Hash)/ }
- .each { |header| headers[header] = Array("{{#{header}}}") }
+ .select { |k| k =~ /^X-Ops-(Authorization-|Content-Hash)/ }
+ .each { |header| headers[header] = Array("{{#{header}}}") }
headers['X-Ops-Userid'] = 'pivotal'
end
end
describe Ogre::Associate do