Mercurial > rsstweet
diff test/controllers/tweets_controller_test.rb @ 182:2b0ba614fc02
Unbreak test whoops
author | nanaya <me@nanaya.pro> |
---|---|
date | Sat, 17 Nov 2018 00:32:11 +0900 |
parents | 257910c60eb3 |
children | e8eb5caae9c1 |
line wrap: on
line diff
--- a/test/controllers/tweets_controller_test.rb Sat Nov 17 00:30:52 2018 +0900 +++ b/test/controllers/tweets_controller_test.rb Sat Nov 17 00:32:11 2018 +0900 @@ -2,17 +2,17 @@ class TweetsControllerTest < ActionController::TestCase test "should get show" do - get :show, :params => { :id => "2791517370/edogawa_test", :format => :atom } + get :show, :params => { :id => "2791517370", :name => "edogawa_test", :format => :atom } assert_response :success end test "does not explode on empty timeline" do - get :show, :params => { :id => "3168319146/nanaya_t_empty", :format => :atom } + get :show, :params => { :id => "3168319146", :name => "nanaya_t_empty", :format => :atom } assert_response :success end test "redirect on @handle access" do - get :show, :params => { :id => "edogawa_test", :format => :atom } + get :redirect, :params => { :name => "edogawa_test", :format => :atom } assert_redirected_to "/2791517370/edogawa_test" end