Commit 376b26b3 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Added cookie_helper to the upload_file_spec

parent 83bc4943
require 'spec_helper' require 'spec_helper'
feature 'Multi-file editor upload file', :js do feature 'Multi-file editor upload file', :js do
include CookieHelper
include WaitForRequests include WaitForRequests
let(:user) { create(:user) } let(:user) { create(:user) }
...@@ -12,7 +13,7 @@ feature 'Multi-file editor upload file', :js do ...@@ -12,7 +13,7 @@ feature 'Multi-file editor upload file', :js do
project.add_master(user) project.add_master(user)
sign_in(user) sign_in(user)
page.driver.set_cookie('new_repo', 'true') set_cookie('new_repo', 'true')
visit project_tree_path(project, :master) visit project_tree_path(project, :master)
......
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