annotate test/controllers/static_controller_test.rb @ 34:e679ce4f73dd

Remove main rails dependency. Depend on its components instead. Trims out a lot of gems.
author edogawaconan <me@myconan.net>
date Thu, 11 Dec 2014 15:33:14 +0900
parents 157f7fd136fc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
157f7fd136fc Double quotes everywhere.
edogawaconan <me@myconan.net>
parents: 8
diff changeset
1 require "test_helper"
8
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