diff options
author | miks <miks@cubesystems.lv> | 2012-09-08 20:54:58 +0300 |
---|---|---|
committer | miks <miks@cubesystems.lv> | 2012-09-08 20:54:58 +0300 |
commit | fdb5c82c331e43dc5d0466d2a4c90ce3e649fc7b (patch) | |
tree | 52adba8b8359ff275b97483d2b34aa76879634e2 | |
parent | 3b5a90bdf654f9715fd15c189d59bd56492bae8c (diff) | |
parent | cc7c6d53966e7501da0af87481b7e7ef2b2025c2 (diff) | |
download | gitlab-ce-fdb5c82c331e43dc5d0466d2a4c90ce3e649fc7b.tar.gz |
Merge branch 'master' into project_hooks_api
-rw-r--r-- | spec/requests/projects_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/requests/projects_spec.rb b/spec/requests/projects_spec.rb index 63f8a696754..92e89a162af 100644 --- a/spec/requests/projects_spec.rb +++ b/spec/requests/projects_spec.rb @@ -3,6 +3,16 @@ require 'spec_helper' describe "Projects" do before { login_as :user } + describe 'GET /project/new' do + it "should work autocomplete", :js => true do + visit new_project_path + + fill_in 'project_name', with: 'Awesome' + find("#project_path").value.should == 'awesome' + find("#project_code").value.should == 'awesome' + end + end + describe "GET /projects/show" do before do @project = Factory :project, owner: @user |