# WhiteListHelper plugin not passing any tests

**URL:** <https://www.ruby-forum.com/t/whitelisthelper-plugin-not-passing-any-tests/104288>\
**Category:** Rails\
**Created:** [May 16, 2007, 1:50pm UTC](https://www.ruby-forum.com/t/whitelisthelper-plugin-not-passing-any-tests/104288 "2007-05-16T13:50:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![liquid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/47e85d/32.png) [@liquid](https://www.ruby-forum.com/u/liquid)\
**Post date:** [May 16, 2007, 1:50pm UTC](https://www.ruby-forum.com/t/whitelisthelper-plugin-not-passing-any-tests/104288/1 "2007-05-16T13:50:11Z")

</div>

Hi

I’m wondering if anyone has the white\_list plugin by Rick passing  
tests. It seems to be working but a lot of the tests call for  
something like

assert\_equal white\_list( text ), text

but the HTML attributes seem to go through a Hash and their order is  
the junked so the tests don’t pass.

I’m I doing something wrong or is this usual?

Cheers  
Dan

---

<div class="post-metadata">

**Author:** ![liquid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/47e85d/32.png) [@liquid](https://www.ruby-forum.com/u/liquid)\
**Post date:** [May 16, 2007, 1:52pm UTC](https://www.ruby-forum.com/t/whitelisthelper-plugin-not-passing-any-tests/104288/2 "2007-05-16T13:52:11Z")

</div>

This is actually not true… I had included some additional tags and  
attributes in the environment file. I removed these and the tests  
passed.

Sorry for the false alarm.

Cheers  
Daniel
