summaryrefslogtreecommitdiff
path: root/spec/helpers
diff options
context:
space:
mode:
authorJeff Stubler <brunsa2@gmail.com>2017-01-02 19:55:26 -0600
committerJeff Stubler <brunsa2@gmail.com>2017-04-21 10:10:21 -0500
commit7057fbf404968aed61d108967514e5ffc18fe91b (patch)
treed188fdfec4c075c768aac3f3e11ff0f84295b961 /spec/helpers
parent568052b0c637f99462855c043819aa0dd347ff06 (diff)
downloadgitlab-ce-7057fbf404968aed61d108967514e5ffc18fe91b.tar.gz
Add updated time to project list
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/projects_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/projects_helper_spec.rb b/spec/helpers/projects_helper_spec.rb
index 40efab6e4f7..b44af79811f 100644
--- a/spec/helpers/projects_helper_spec.rb
+++ b/spec/helpers/projects_helper_spec.rb
@@ -93,7 +93,7 @@ describe ProjectsHelper do
end
it "includes a version" do
- expect(helper.project_list_cache_key(project)).to include("v2.3")
+ expect(helper.project_list_cache_key(project).last).to start_with('v')
end
it "includes the pipeline status when there is a status" do