rapid7/metasploit-framework — pull request #3668 by jvazquez-r7 (2014-08-18 18:58:57+00:00)
Title: Heaplib spec

Adds specs for ```Rex::Exploitation::HeapLib```. While developing the specs noticed which the ```load_js``` behaviour isn't the expected if ```opts[:newobfu]``` is ```true```. This pull request also fixes it.

Verification
--------

- [ ] Use rspec to check new specs

```
$ rspec spec/lib/rex/exploitation/heaplib_spec.rb
Rex::Exploitation::HeapLib .......

Finished in 0.1104 seconds
7 examples, 0 failures

Randomized with seed 35759

Coverage report generated for RSpec to /metasploit-framework/coverage. 16179 / 91892 LOC (17.61%) covered.
```

- [ ] Be sure which Travis is green