Stub to enable it so that we could test this

This commit is contained in:
Lin Jen-Shin 2016-08-23 21:47:22 +08:00 committed by James Edwards-Jones
parent 0763b5ea4a
commit c3e483b05b
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ feature 'Pages', feature: true do
given(:role) { :master }
background do
allow(Gitlab.config.pages).to receive(:enabled).and_return(true)
project.team << [user, role]
login_as(user)