view test/controllers/tweets_controller_test.rb @ 49:929218b3b2e2

Ignore local config files.
author nanaya <me@myconan.net>
date Thu, 23 Apr 2015 16:23:36 +0900
parents 8983c426e256
children 8f68ca606099
line wrap: on
line source

require "test_helper"

class TweetsControllerTest < ActionController::TestCase
  test "should get show" do
    get :show, :id => "edogawa_test", :format => :atom
    assert_response :success
  end

  test "does not explode on empty timeline" do
    get :show, :id => "nanaya_t_empty", :format => :atom
    assert_response :success
  end

  test "should get index" do
    get :index
    assert_response :success
  end
end