ref: refs/heads/master
commit 3d4d54a23d37253ce750a5bc8d4208c2b6954f53
Author: Klaus Kämpf
Date: Tue Jul 7 15:01:38 2009 +0200
Put 'resources' into the test names to prevent name clashes
---
.../test/functional/resources_controller_test.rb | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/webservice/test/functional/resources_controller_test.rb b/webservice/test/functional/resources_controller_test.rb
index b9a7598..b341c75 100644
--- a/webservice/test/functional/resources_controller_test.rb
+++ b/webservice/test/functional/resources_controller_test.rb
@@ -23,24 +23,24 @@ class ResourcesControllerTest < ActionController::TestCase
ResourceRegistration.register_plugin plugin
end
- test "access root" do
+ test "resources access root" do
get :index
assert_response :success
end
- test "output xml format" do
+ test "resources output xml format" do
get :index, :format => "xml"
assert_response :success
assert @response.headers['Content-Type'] =~ %r{application/xml}
end
- test "output html format" do
+ test "resources output html format" do
get :index, :format => "html"
assert_response :success
assert @response.headers['Content-Type'] =~ %r{text/html}
end
- test "by interfaces query" do
+ test "resources by interfaces query" do
ResourceRegistration.resources.each do |interface,implementations|
get :index, :params => { "interface" => interface }
assert_response :success
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org