Mercurial > rsstweet
view test/controllers/tweets_controller_test.rb @ 108:8b2d770160e3
Increase count to 100
As feedbin fetching delay increased to 10 minutes, someone may now tweet over 40 times and thus hiding the older tweets.
author | nanaya <me@myconan.net> |
---|---|
date | Sun, 30 Oct 2016 04:26:09 +0900 |
parents | 257910c60eb3 |
children | 2b0ba614fc02 |
line wrap: on
line source
require "test_helper" class TweetsControllerTest < ActionController::TestCase test "should get show" do get :show, :params => { :id => "2791517370/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 } assert_response :success end test "redirect on @handle access" do get :show, :params => { :id => "edogawa_test", :format => :atom } assert_redirected_to "/2791517370/edogawa_test" end test "should get index" do get :index assert_response :success end end