velesin/jasmine-jquery — pull request #155 by polarblau (2013-11-15 10:20:39+00:00)
Title: Use strict equality check within `hasProperty`

I wanted to check for the existence and equality of an object within the data attributes of an element and realized that the simple existence of the string representation of an object would make the test pass as well.

As an example this would pass with the current implementation:

```javascript
setFixtures('

')
expect($('#foo')).toHaveData('bar', { 'answer': 42 });
```

The problem is caused by a simple equality check using `==` instead of a strict check using `===` in the value comparison of `hasProperty`.