velesin/jasmine-jquery — pull request #156 by jcouyang (2013-11-26 16:06:42+00:00)
Title: inline script src into fixture so that the event binding will actually work

you can write your fixture like this
```javascript

```
if the script contains event binding like
```javascript
$(function (){ $('#anchor_01').click(function(){ $(this).addClass('foo'); }) });
```
the even will actually bind to fixture so you can write some jasmine test like
```javascript
$('#anchor_01').click()
expect($("#anchor_01")).toHaveClass('foo')
```