Mercurial > rsstweet
comparison 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 |
comparison
equal
deleted
inserted
replaced
37:81f23f5bf85d | 38:9e03bbbb1d43 |
---|---|
3 class TweetsControllerTest < ActionController::TestCase | 3 class TweetsControllerTest < ActionController::TestCase |
4 test "should get show" do | 4 test "should get show" do |
5 get :show, :id => "edogawa_test", :format => :atom | 5 get :show, :id => "edogawa_test", :format => :atom |
6 assert_response :success | 6 assert_response :success |
7 end | 7 end |
8 | |
9 test "should get index" do | |
10 get :index | |
11 assert_response :success | |
12 end | |
8 end | 13 end |