From 608abf01dc91c9b3368f96c3c91276fa9b66aa68 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sat, 11 Jan 2014 19:15:16 +0200 Subject: Show commit sha for build duration. Fixed tests Signed-off-by: Dmitriy Zaporozhets --- spec/features/projects_spec.rb | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'spec/features') diff --git a/spec/features/projects_spec.rb b/spec/features/projects_spec.rb index 227212c..a66b6ba 100644 --- a/spec/features/projects_spec.rb +++ b/spec/features/projects_spec.rb @@ -35,22 +35,14 @@ describe "Projects" do describe "GET /projects/:id/charts" do before do - visit project_chart_path(@project, 'build_times') - end - - it { page.should have_content 'Overall' } - it { page.should have_content 'Build duration in seconds for last 30 builds' } - end - - describe "GET /projects/:id/charts/builds" do - before do - visit project_chart_path(@project, 'builds') + visit project_charts_path(@project) end it { page.should have_content 'Overall' } it { page.should have_content 'Builds chart for last week' } it { page.should have_content 'Builds chart for last month' } it { page.should have_content 'Builds chart for last year' } + it { page.should have_content 'Build duration in seconds for last 30 builds' } end describe "GET /projects/:id/details" do -- cgit v1.2.1