Commit 11db5412 authored by Etienne Baqué's avatar Etienne Baqué

Fixed a failing test in DestroyService spec

parent 217b1d47
......@@ -21,7 +21,7 @@ describe FeatureFlags::DestroyService do
it 'creates audit log' do
expect { subject }.to change { AuditEvent.count }.by(1)
expect(audit_event_message).to eq("Deleted feature flag <strong>#{feature_flag.name.tr('_', ' ')}</strong>.")
expect(audit_event_message).to eq("Deleted feature flag <strong>#{feature_flag.name}</strong>.")
end
context 'when feature flag can not be destroyed' do
......
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