Fixes tests for Rails 4.0.1

Technically the route always required a `:provider` component;
apparently Rails 4.0.1 now blows up without it.

Fixes #39
Merged Andy's fix for Rails 4.0.1.rc3; Thanks @alindeman