Commit ba584c7d authored by miks's avatar miks

Merge branch 'master' into project_users_api

parents 27e44365 cc7c6d53
...@@ -3,6 +3,16 @@ require 'spec_helper' ...@@ -3,6 +3,16 @@ require 'spec_helper'
describe "Projects" do describe "Projects" do
before { login_as :user } 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 describe "GET /projects/show" do
before do before do
@project = Factory :project, owner: @user @project = Factory :project, owner: @user
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment