Hm, maybe ... I'm trying to fix it.
On Sep 26, 2013, at 11:24 PM, Justin Coyne <notifications@github.com> wrote:

> In hydra-core/spec/controllers/downloads_controller_spec.rb:
> 
> > @@ -139,5 +139,24 @@
> >          end
> >        end
> >      end
> > +
> > +    describe "overriding the default asset param" do
> > +      before do
> > +        Rails.application.routes.draw do
> > +          get 'downloads/:alt_id' => 'downloads#show'
> > +        end
> > +        controller do
> > +          def asset_param
> > +            params[:bar_id]
> Couldn't this be params[:alt_id] and we can do away with the expectation and just test the show behavior?
> 
> —
> Reply to this email directly or view it on GitHub.
>