Commit aa21d8cc authored by DJ Mountney's avatar DJ Mountney

Fix bug with conflict resolution for security release for the events_helper spec

Previously accidently added a test for a feature that does not exist in this release
: preserved styles in labels
parent 8fae6a3d
......@@ -73,12 +73,6 @@ describe EventsHelper do
helper.event_note(input, { project: project })
end
it 'preserves style attribute for a label that can be accessed by current_user' do
project = create(:empty_project, :public)
expect(format_event_note(project)).to match(/span class=.*style=.*/)
end
it 'does not style a label that can not be accessed by current_user' do
project = create(:empty_project, :private)
......
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