Commit 7513bd06 authored by Mike Greiling's avatar Mike Greiling

fix set_cookie references within ref_switcher_spec.rb

parent 5445f839
require 'rails_helper' require 'rails_helper'
feature 'Ref switcher', :js do feature 'Ref switcher', :js do
include CookieHelper
let(:user) { create(:user) } let(:user) { create(:user) }
let(:project) { create(:project, :public, :repository) } let(:project) { create(:project, :public, :repository) }
before do before do
project.team << [user, :master] project.team << [user, :master]
page.driver.set_cookie('new_repo', 'true') set_cookie('new_repo', 'true')
sign_in(user) sign_in(user)
visit project_tree_path(project, 'master') visit project_tree_path(project, 'master')
end end
......
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