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 @@ ...@@ -17,13 +17,13 @@
.prepend-top-default .prepend-top-default
%p.light %p.light
Builds chart for last month Builds for last month
(#{date_from_to(Date.today - 30.days, Date.today)}) (#{date_from_to(Date.today - 30.days, Date.today)})
%canvas#monthChart{height: 200} %canvas#monthChart{height: 200}
.prepend-top-default .prepend-top-default
%p.light %p.light
Builds chart for last year Builds for last year
%canvas#yearChart.padded{height: 250} %canvas#yearChart.padded{height: 250}
- [:week, :month, :year].each do |scope| - [:week, :month, :year].each do |scope|
......
...@@ -25,9 +25,9 @@ class Spinach::Features::ProjectGraph < Spinach::FeatureSteps ...@@ -25,9 +25,9 @@ class Spinach::Features::ProjectGraph < Spinach::FeatureSteps
step 'page should have CI graphs' do step 'page should have CI graphs' do
expect(page).to have_content 'Overall' expect(page).to have_content 'Overall'
expect(page).to have_content 'Builds chart for last week' expect(page).to have_content 'Builds for last week'
expect(page).to have_content 'Builds chart for last month' expect(page).to have_content 'Builds for last month'
expect(page).to have_content 'Builds chart for last year' expect(page).to have_content 'Builds for last year'
expect(page).to have_content 'Commit duration in minutes for last 30 commits' expect(page).to have_content 'Commit duration in minutes for last 30 commits'
end 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