summaryrefslogtreecommitdiff
path: root/spec/helpers/events_helper_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-2/+2
|
* Pull preserve into render helpersDouwe Maan2017-04-281-1/+1
|
* Merge branch '30125-markdown-security'Robert Speicher2017-04-051-5/+22
| | | | | | Remove class from SanitizationFilter whitelist See merge request !2079
* Fix specsDouwe Maan2017-03-141-5/+3
|
* whitelist style attribute in event_notemhasbini2017-03-071-0/+7
|
* Stop event_commit_title from escaping its outputNick Thomas2016-10-181-0/+17
| | | | | | | | Return a non-html-safe, unescaped String instead of ActiveSupport::SafeBuffer to preserve safety when the output is misused. Currently there's oly one user, which does the right thing. Closes #23311
* fixes part1 of files to start using active tensetiagonbotelho2016-08-091-7/+7
|
* expect final newlines from the banzai filterhttp://jneen.net/2016-07-141-1/+1
|
* Clean up EventsHelper specRobert Speicher2016-05-121-47/+48
|
* Fix two more failing specsRobert Speicher2015-08-251-3/+2
|
* Fix diff syntax highlightingStan Hu2015-08-101-1/+1
| | | | | | Refactored HTML parser to avoid duplication of newline parsing. Closes #2235
* Fix code preview theme setting for comments, issues, merge requests, and ↵Stan Hu2015-03-101-0/+12
| | | | | | | | | | snippets. Also preserve code preview color scheme in events dashboard. Assign default colors to all code blocks shown as <pre class="code highlight [color_scheme]"> Closes #1139
* Fixed testsStefan Tatschner2015-01-151-1/+2
|
* Improve dashboard note view and add testsVinnie Okada2014-10-121-0/+52
Update the `#first_line_in_markdown` method so that the first line of parsed text is displayed more reliably, and the continuation indicators ("...") are displayed in all cases where the note is truncated. Also add Rspec tests for `EventsHelper#event_note`.