Commit 199c08f5 authored by Vladimir Shushlin's avatar Vladimir Shushlin

Fix project_feature_auditor spec

pages access_level will be private now by default
so to fix spec we make them enabled manually through trait
parent da88518c
......@@ -5,7 +5,7 @@ require 'spec_helper'
describe EE::Audit::ProjectFeatureChangesAuditor do
describe '#execute' do
let!(:user) { create(:user) }
let!(:project) { create(:project, visibility_level: 0) }
let!(:project) { create(:project, :pages_enabled, visibility_level: 0) }
let(:features) { project.project_feature }
let(:foo_instance) { described_class.new(user, features, project) }
......
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