projecthydra/sufia — pull request #144 by flyingzumwalt (2013-07-04 16:11:49+00:00)
Title: Test to confirm that pagination works -- fails because dashboard/pages r...

Test to confirm that pagination works -- fails because dashboard/pages routes are not properly inherited.

DO NOT MERGE. This is just to point out the bug. __Must figure out the fix before merging.__

You can make this test pass by adding the dashboard routes (and its sub-routes) explicitly into the test app's config/routes.rb

```ruby
# in spec/internal/config/routes.rb

resources 'dashboard', :only=>:index do
collection do
get 'page/:page', :action => :index
get 'activity', :action => :activity, :as => :dashboard_activity
get 'facet/:id', :action => :facet, :as => :dashboard_facet
end
end
```