Commit 802b8fce authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix graph description and text

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent b1a1cadc
......@@ -17,13 +17,13 @@
.prepend-top-default
%p.light
Builds chart for last month
Builds for last month
(#{date_from_to(Date.today - 30.days, Date.today)})
%canvas#monthChart{height: 200}
.prepend-top-default
%p.light
Builds chart for last year
Builds for last year
%canvas#yearChart.padded{height: 250}
- [:week, :month, :year].each do |scope|
......
......@@ -25,9 +25,9 @@ class Spinach::Features::ProjectGraph < Spinach::FeatureSteps
step 'page should have CI graphs' do
expect(page).to have_content 'Overall'
expect(page).to have_content 'Builds chart for last week'
expect(page).to have_content 'Builds chart for last month'
expect(page).to have_content 'Builds chart for last year'
expect(page).to have_content 'Builds for last week'
expect(page).to have_content 'Builds for last month'
expect(page).to have_content 'Builds for last year'
expect(page).to have_content 'Commit duration in minutes for last 30 commits'
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment