summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-11 19:15:16 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-11 19:15:16 +0200
commit608abf01dc91c9b3368f96c3c91276fa9b66aa68 (patch)
treebd44d43a93487e992a526962a045511122a52cef /spec/features
parent52b3bbb8e8b71e7e52ed6ae854f511d25553340b (diff)
downloadgitlab-ci-608abf01dc91c9b3368f96c3c91276fa9b66aa68.tar.gz
Show commit sha for build duration. Fixed tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects_spec.rb12
1 files changed, 2 insertions, 10 deletions
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