diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-07-25 11:20:27 +0300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-07-25 12:33:18 +0300 |
commit | 595a092a083a9a16cad12dc663cad1a674551a51 (patch) | |
tree | 08fc36c7aad40429efafe62b273bd006165654a6 /spec/features/projects/commits | |
parent | f0391c2517879bbb73702ccafd5e02bf25b40eec (diff) |
Fix frozen string error
Diffstat (limited to 'spec/features/projects/commits')
-rw-r--r-- | spec/features/projects/commits/user_browses_commits_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/commits/user_browses_commits_spec.rb b/spec/features/projects/commits/user_browses_commits_spec.rb index fc74a370e72..818939c1b96 100644 --- a/spec/features/projects/commits/user_browses_commits_spec.rb +++ b/spec/features/projects/commits/user_browses_commits_spec.rb @@ -13,7 +13,7 @@ describe 'User browses commits' do it 'renders commit' do visit project_commit_path(project, sample_commit.id) - expect(page).to have_content(sample_commit.message.gsub!(/\s+/, ' ')) + expect(page).to have_content(sample_commit.message.gsub(/\s+/, ' ')) .and have_content("Showing #{sample_commit.files_changed_count} changed files") .and have_content('Side-by-side') end |