Commit 56ba2604 authored by Sean McGivern's avatar Sean McGivern

Merge branch '257438-fj-fix-deprecation-warnings-snippet_input_action_spec' into 'master'

Fix Ruby 2.7 deprecation warnings in snippet_input_action_spec.rb

See merge request gitlab-org/gitlab!43523
parents b2a49c80 3618d094
......@@ -67,7 +67,7 @@ RSpec.describe SnippetInputAction do
let(:options) { { action: action, file_path: file_path, content: content, previous_path: previous_path } }
let(:expected_options) { options.merge(action: action.to_sym) }
subject { described_class.new(options).to_commit_action }
subject { described_class.new(**options).to_commit_action }
it 'transforms attributes to commit action' do
expect(subject).to eq(expected_options)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment