Commit c9935523 authored by Vladimir Shushlin's avatar Vladimir Shushlin

Fix project changes auditor spec

Project trait override default value for
project_feature.pages_access_level

Which causes additional changes to be tracked by auditor

We just reload project before executing tests to clean changed
attributes.

Alternatively we can add trait :pages_private (new default value) to
project creation
parent c7d2bd4d
......@@ -7,6 +7,7 @@ describe EE::Audit::ProjectChangesAuditor do
let(:foo_instance) { described_class.new(user, project) }
before do
project.reload
stub_licensed_features(extended_audit_events: true)
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