Commit d5bee2c6 authored by Mike Greiling's avatar Mike Greiling

fix set_cookie references within multi-file editor specs

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