annotate test/controllers/static_controller_test.rb @ 8:86abbc9ce81b

Add static controller.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 18:33:22 +0900
parents
children 157f7fd136fc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
86abbc9ce81b Add static controller.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 require 'test_helper'
86abbc9ce81b Add static controller.
edogawaconan <me@myconan.net>
parents:
diff changeset
2
86abbc9ce81b Add static controller.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 class StaticControllerTest < ActionController::TestCase
86abbc9ce81b Add static controller.
edogawaconan <me@myconan.net>
parents:
diff changeset
4 test "should get index" do
86abbc9ce81b Add static controller.
edogawaconan <me@myconan.net>
parents:
diff changeset
5 get :index
86abbc9ce81b Add static controller.
edogawaconan <me@myconan.net>
parents:
diff changeset
6 assert_response :success
86abbc9ce81b Add static controller.
edogawaconan <me@myconan.net>
parents:
diff changeset
7 end
86abbc9ce81b Add static controller.
edogawaconan <me@myconan.net>
parents:
diff changeset
8 end