diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-12-08 02:38:59 +0100 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-12-08 02:38:59 +0100 |
commit | 9b20731d4aa2b6ffce614cd77606809ad0e2a832 (patch) | |
tree | 479936d3a62037372a0a9dd77a9f4128eb72039f /features/steps | |
parent | 9b561e7e15723a82e1f0dcf780aeb7fac5ec139b (diff) | |
download | gitlab-ce-9b20731d4aa2b6ffce614cd77606809ad0e2a832.tar.gz |
Add tests and changelog item for language graphslanguages-graph
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/project/graph.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/features/steps/project/graph.rb b/features/steps/project/graph.rb index 98f31f3b76a..b09ec86e5df 100644 --- a/features/steps/project/graph.rb +++ b/features/steps/project/graph.rb @@ -14,6 +14,15 @@ class Spinach::Features::ProjectGraph < Spinach::FeatureSteps visit commits_namespace_project_graph_path(project.namespace, project, "master") end + step 'I visit project "Shop" languages graph page' do + visit languages_namespace_project_graph_path(project.namespace, project, "master") + end + + step 'page should have languages graphs' do + expect(page).to have_content "Ruby 66.63 %" + expect(page).to have_content "JavaScript 22.96 %" + end + step 'page should have commits graphs' do expect(page).to have_content "Commit statistics for master" expect(page).to have_content "Commits per day of month" |