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 15034e8 commit b2ade53Copy full SHA for b2ade53
.circleci/config.yml
@@ -2,7 +2,7 @@ version: 2
2
jobs:
3
build:
4
docker:
5
- - image: circleci/ruby:2.5-node-browsers
+ - image: circleci/ruby:2.1
6
7
working_directory: ~/repo
8
lib/rspec/request_snapshot/matcher.rb
@@ -32,7 +32,7 @@ module Rspec::RequestSnapshot
32
end
33
34
def format
35
- @options[:format]&.to_sym || RSpec.configuration.request_snapshots_default_format
+ (@options[:format] && @options[:format].to_sym) || RSpec.configuration.request_snapshots_default_format
36
37
38
def handler
0 commit comments