diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-03-05 14:08:12 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-03-05 14:49:13 +1100 |
commit | 10a76a091bce366a30850b3f60354e5fe52abf5e (patch) | |
tree | 1a9837a55a0d7ea0b79d20d3940ff7c7f1c3ef4e /spec/controllers/track_controller_spec.rb | |
parent | b9119dc77a78c648bf80444ebf01d03f0d146294 (diff) |
Fix track searches by changing the way the routing works
Diffstat (limited to 'spec/controllers/track_controller_spec.rb')
-rw-r--r-- | spec/controllers/track_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/track_controller_spec.rb b/spec/controllers/track_controller_spec.rb index 63192c99e..8d9d7637b 100644 --- a/spec/controllers/track_controller_spec.rb +++ b/spec/controllers/track_controller_spec.rb @@ -49,7 +49,7 @@ describe TrackController, "when making a new track on a request" do it "should save a search track and redirect to the right place" do session[:user_id] = @user.id @track_thing.should_receive(:save!) - get :track_search_query, :query_array => ["bob variety:sent"], :feed => 'track' + get :track_search_query, :query_array => "bob variety:sent", :feed => 'track' response.should redirect_to(:controller => 'general', :action => 'search', :combined => ["bob", "requests"]) end |