Commit fdb5c82c331e43dc5d0466d2a4c90ce3e649fc7b
Exists in
master
and in
4 other branches
Merge branch 'master' into project_hooks_api
Showing
1 changed file
with
10 additions
and
0 deletions
Show diff stats
spec/requests/projects_spec.rb
... | ... | @@ -3,6 +3,16 @@ require 'spec_helper' |
3 | 3 | describe "Projects" do |
4 | 4 | before { login_as :user } |
5 | 5 | |
6 | + describe 'GET /project/new' do | |
7 | + it "should work autocomplete", :js => true do | |
8 | + visit new_project_path | |
9 | + | |
10 | + fill_in 'project_name', with: 'Awesome' | |
11 | + find("#project_path").value.should == 'awesome' | |
12 | + find("#project_code").value.should == 'awesome' | |
13 | + end | |
14 | + end | |
15 | + | |
6 | 16 | describe "GET /projects/show" do |
7 | 17 | before do |
8 | 18 | @project = Factory :project, owner: @user | ... | ... |