fix set_cookie references within multi-file editor specs
This commit is contained in:
parent
945a262dfa
commit
d5bee2c6e0
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
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)
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue