hotsh/rstat.us — pull request #531 by yumitsu (2012-04-21 03:52:06+00:00)
Title: Fixed tests for ruby 1.9.3

Fulfilled hotsh/rstat.us#512.

Everything was easier than it might seem. The problem was in conflicts between outdated gems — `mocha` and `minitest`. I pointed Gemfile entries to latest versions and everything started working like a charm:

```
*** MiniTest integration has not been verified but patching anyway ***
Monkey patching MiniTest >= v2.3.0 <= v2.6.2
Run options: --seed 65141

# Running tests:

..................................................................................................................
.......................................................S..................S.......................................
..SS.........................

Finished tests in 103.527663s, 2.4728 tests/s, 5.3995 assertions/s.

256 tests, 559 assertions, 0 failures, 0 errors, 4 skips
```

I also fixed `test/models/user_test.rb` — test doesn't pass because of down case in stubbed requests.