josevalim/active_model_serializers — pull request #130 by dgeb (2012-09-21 01:57:55+00:00)
Title: Added edge rails to the Travis test matrix

As discussed in #128, this adds edge rails on 1.9.3 to the Travis test matrix. The `allow_failures` option is used.

I also cleaned up the routes in `test_helper` to use the `get` method instead of `match`. Edge rails fails on `match`, which is what brought this to my attention.

There is still [one test](https://github.com/dgeb/active_model_serializers/blob/edge-rails-travis/test/serialization_test.rb#L217) that fails for edge rails. It is testing that rendering json with a callback will return `application/json` content, when edge rails in fact returns `text/javascript`. I'm not sure which is appropriate, since the content is `application/json` and the callback is `text/javascript`. But then again, I'm not sure why this test and similar are in AMS in the first place.

Hopefully, if/when this PR gets merged, we can try to keep AMS up with edge rails with more PRs like #129.