Skip to content
Snippets Groups Projects
Verified Commit 802b8fce authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix graph description and text

parent b1a1cadc
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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|
Loading
Loading
Loading
Loading
@@ -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
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment