@@ -12,7 +12,7 class ApiTest::TokenAuthenticationTest < ActionController::IntegrationTest | |||||
12 | Setting.rest_api_enabled = '0' |
|
12 | Setting.rest_api_enabled = '0' | |
13 | Setting.login_required = '0' |
|
13 | Setting.login_required = '0' | |
14 | end |
|
14 | end | |
15 |
|
15 | |||
16 | # Using the NewsController because it's a simple API. |
|
16 | # Using the NewsController because it's a simple API. | |
17 | context "get /news" do |
|
17 | context "get /news" do | |
18 | context "in :xml format" do |
|
18 | context "in :xml format" do |
General Comments 0
You need to be logged in to leave comments.
Login now