diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-10-11 12:07:19 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-11 12:07:19 +0300 |
commit | bd0248307dae9c62f62177ef7d5f87ec0a7acf22 (patch) | |
tree | ed1f42033d58c1ac3a254cb8a47b53da4050dce8 /spec/features/projects_spec.rb | |
parent | 14b4444d19db88e9cbe90dd9a00ff1cb5756f1b0 (diff) |
Simplify project page
Diffstat (limited to 'spec/features/projects_spec.rb')
-rw-r--r-- | spec/features/projects_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/features/projects_spec.rb b/spec/features/projects_spec.rb index ac62280e4ca..3bc7ec3123f 100644 --- a/spec/features/projects_spec.rb +++ b/spec/features/projects_spec.rb @@ -12,8 +12,9 @@ feature 'Project' do visit new_project_path end - it "allows creation from templates" do - page.choose(template.name) + it "allows creation from templates", :js do + find('#create-from-template-tab').trigger('click') + find("##{template.name}").trigger('click') fill_in("project_path", with: template.name) page.within '#content-body' do |