summaryrefslogtreecommitdiff
path: root/spec/features/commits_spec.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-02-13 09:01:09 +0000
committerPhil Hughes <me@iamphill.com>2017-02-13 09:01:09 +0000
commita9c80dceb688623e8f06a925caf629fddfa180ec (patch)
treef52dec2482916b4505063e62ed3cc79441c5c8cf /spec/features/commits_spec.rb
parent8aa757aa532c14445aca8731b7a553e657a58593 (diff)
downloadgitlab-ce-a9c80dceb688623e8f06a925caf629fddfa180ec.tar.gz
Fixed timeago specsformat-timeago-date
Diffstat (limited to 'spec/features/commits_spec.rb')
-rw-r--r--spec/features/commits_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/commits_spec.rb b/spec/features/commits_spec.rb
index 8f561c8f90b..dede562c2b0 100644
--- a/spec/features/commits_spec.rb
+++ b/spec/features/commits_spec.rb
@@ -192,7 +192,7 @@ describe 'Commits' do
commits = project.repository.commits(branch_name)
commits.each do |commit|
- expect(page).to have_content("committed #{commit.committed_date}")
+ expect(page).to have_content("committed #{commit.committed_date.strftime("%b %d, %Y")}")
end
end
end