mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 05:45:49 +01:00
Removed some shoulda context.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11863 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -37,13 +37,6 @@ class Redmine::ApiTest::TokenAuthenticationTest < Redmine::ApiTest::Base
|
||||
end
|
||||
|
||||
# Using the NewsController because it's a simple API.
|
||||
context "get /news" do
|
||||
context "in :xml format" do
|
||||
should_allow_key_based_auth(:get, "/news.xml")
|
||||
end
|
||||
|
||||
context "in :json format" do
|
||||
should_allow_key_based_auth(:get, "/news.json")
|
||||
end
|
||||
end
|
||||
should_allow_key_based_auth(:get, "/news.xml")
|
||||
should_allow_key_based_auth(:get, "/news.json")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user