diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb index 98054b91c29..8fc2a30e3ad 100644 --- a/spec/models/commit_spec.rb +++ b/spec/models/commit_spec.rb @@ -209,7 +209,7 @@ eos let(:commit_options) do author = repository.user_to_committer(user) - commit_options = { message: 'Test message', committer: author, author: author } + { message: 'Test message', committer: author, author: author } end let(:merge_commit) do