summaryrefslogtreecommitdiff
path: root/spec/features/commits_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/commits_spec.rb')
-rw-r--r--spec/features/commits_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/commits_spec.rb b/spec/features/commits_spec.rb
index db841ffc627..97f820c1518 100644
--- a/spec/features/commits_spec.rb
+++ b/spec/features/commits_spec.rb
@@ -212,13 +212,13 @@ RSpec.describe 'Commits' do
end
context 'author is just a name' do
- let(:author) { "#{author_commit.author_name}" }
+ let(:author) { author_commit.author_name.to_s }
it_behaves_like 'show commits by author'
end
context 'author is just an email' do
- let(:author) { "#{author_commit.author_email}" }
+ let(:author) { author_commit.author_email.to_s }
it_behaves_like 'show commits by author'
end