summaryrefslogtreecommitdiff
path: root/spec/features/projects_spec.rb
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-04-17 18:27:42 +0300
committerValery Sizov <vsv2711@gmail.com>2015-04-17 18:27:42 +0300
commit2a65d368e3b0c2ed2a788b42bb3207b82eeb1afe (patch)
treea8f9e722b082be6ba98159023ec3b0687c4513fa /spec/features/projects_spec.rb
parentf73c162835c11a357baf59430fddceb02e22259b (diff)
downloadgitlab-ci-improve_test_coverage.tar.gz
Improved test coverageimprove_test_coverage
Diffstat (limited to 'spec/features/projects_spec.rb')
-rw-r--r--spec/features/projects_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/features/projects_spec.rb b/spec/features/projects_spec.rb
index 034dfc1..449b322 100644
--- a/spec/features/projects_spec.rb
+++ b/spec/features/projects_spec.rb
@@ -31,6 +31,15 @@ describe "Projects" do
it { page.should have_content @project.name }
it { page.should have_content 'Build Schedule' }
+
+ it "updates configuration" do
+ fill_in 'Name', with: 'Documentcloud / Underscore1'
+ click_button 'Save changes'
+
+ page.should have_content 'successfully updated'
+
+ find_field('Name').value.should eq 'Documentcloud / Underscore1'
+ end
end
describe "GET /projects/:id/charts" do