Mercurial > rsstweet
annotate test/controllers/tweets_controller_test.rb @ 38:9e03bbbb1d43
Move static#index to tweet#index.
author | edogawaconan <me@myconan.net> |
---|---|
date | Thu, 11 Dec 2014 15:47:36 +0900 |
parents | 157f7fd136fc |
children | 8983c426e256 |
rev | line source |
---|---|
19 | 1 require "test_helper" |
15 | 2 |
3 class TweetsControllerTest < ActionController::TestCase | |
4 test "should get show" do | |
5 get :show, :id => "edogawa_test", :format => :atom | |
6 assert_response :success | |
7 end | |
38
9e03bbbb1d43
Move static#index to tweet#index.
edogawaconan <me@myconan.net>
parents:
19
diff
changeset
|
8 |
9e03bbbb1d43
Move static#index to tweet#index.
edogawaconan <me@myconan.net>
parents:
19
diff
changeset
|
9 test "should get index" do |
9e03bbbb1d43
Move static#index to tweet#index.
edogawaconan <me@myconan.net>
parents:
19
diff
changeset
|
10 get :index |
9e03bbbb1d43
Move static#index to tweet#index.
edogawaconan <me@myconan.net>
parents:
19
diff
changeset
|
11 assert_response :success |
9e03bbbb1d43
Move static#index to tweet#index.
edogawaconan <me@myconan.net>
parents:
19
diff
changeset
|
12 end |
15 | 13 end |