diff options
Diffstat (limited to 'spec/graphql/mutations/commits/create_spec.rb')
-rw-r--r-- | spec/graphql/mutations/commits/create_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/graphql/mutations/commits/create_spec.rb b/spec/graphql/mutations/commits/create_spec.rb index 2c452410cca..8cfd27485e6 100644 --- a/spec/graphql/mutations/commits/create_spec.rb +++ b/spec/graphql/mutations/commits/create_spec.rb @@ -67,7 +67,7 @@ RSpec.describe Mutations::Commits::Create do context 'when service successfully creates a new commit' do it "returns the ETag path for the commit's pipeline" do commit_pipeline_path = subject[:commit_pipeline_path] - expect(commit_pipeline_path).to match(%r(pipelines/sha/\w+)) + expect(commit_pipeline_path).to match(%r{pipelines/sha/\w+}) end it 'returns the content of the commit' do |