view test/controllers/tweets_controller_test.rb @ 45:c087f4831ec7

Rails 4.2.
author edogawaconan <me@myconan.net>
date Sat, 20 Dec 2014 17:51:07 +0900
parents 9e03bbbb1d43
children 8983c426e256
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 "should get index" do
    get :index
    assert_response :success
  end
end