Skip to content

Commit

Permalink
Rename test to be more semantically correct
Browse files Browse the repository at this point in the history
  • Loading branch information
vjt committed Nov 20, 2017
1 parent 17f8474 commit 59cea51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sanitize_rails_engine_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_clean_not_producing_malicious_html_entities
assert_equal "<script>hello & world</script>", string
end

def test_clean_not_making_explicit_html_entities
def test_entities_whitelist
string = %Q|<script>hello & world</script>|
@engine.configure(entities_whitelist: { '&amp;': '&' })
@engine.clean! string
Expand Down

0 comments on commit 59cea51

Please sign in to comment.