diff options
Diffstat (limited to 'test/controllers/admin/blogs_controller_test.rb')
-rw-r--r-- | test/controllers/admin/blogs_controller_test.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/controllers/admin/blogs_controller_test.rb b/test/controllers/admin/blogs_controller_test.rb new file mode 100644 index 0000000..5b62eff --- /dev/null +++ b/test/controllers/admin/blogs_controller_test.rb | |||
@@ -0,0 +1,19 @@ | |||
1 | require 'test_helper' | ||
2 | |||
3 | class Admin::BlogsControllerTest < ActionDispatch::IntegrationTest | ||
4 | test "should get index" do | ||
5 | get admin_blogs_index_url | ||
6 | assert_response :success | ||
7 | end | ||
8 | |||
9 | test "should get new" do | ||
10 | get admin_blogs_new_url | ||
11 | assert_response :success | ||
12 | end | ||
13 | |||
14 | test "should get edit" do | ||
15 | get admin_blogs_edit_url | ||
16 | assert_response :success | ||
17 | end | ||
18 | |||
19 | end | ||