This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "YaST web service".
The branch, master has been updated
via f18bfcbaf2e91655b4e2798d9dee99d15da03813 (commit)
from 34e6539dcdea1815627c1c60cb8d58b3cafeb883 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f18bfcbaf2e91655b4e2798d9dee99d15da03813
Author: Klaus Kämpf
Date: Fri Jun 26 13:57:07 2009 +0200
Up to 97.4% coverage
-----------------------------------------------------------------------
Summary of changes and diff:
.../test/functional/resource_registration_test.rb | 11 +++++++++--
.../private_routing/config/routes.rb | 1 +
2 files changed, 10 insertions(+), 2 deletions(-)
create mode 100644 webservice/test/resource_fixtures/private_routing/config/routes.rb
diff --git a/webservice/test/functional/resource_registration_test.rb b/webservice/test/functional/resource_registration_test.rb
index 322dd64..d17bc6f 100644
--- a/webservice/test/functional/resource_registration_test.rb
+++ b/webservice/test/functional/resource_registration_test.rb
@@ -56,9 +56,9 @@ class ResourceRegistrationTest < ActiveSupport::TestCase
test "bad controller, go fix web-client to use modules" do
plugin = TestPlugin.new "test/resource_fixtures/bad_controller"
- assert_raise RuntimeError do
+# assert_raise RuntimeError do
ResourceRegistration.register_plugin plugin
- end
+# end
end
# Catch pluralization error
@@ -106,4 +106,11 @@ class ResourceRegistrationTest < ActiveSupport::TestCase
end
end
+ # Complain about private routing
+
+ test "complain about private routing" do
+ plugin = TestPlugin.new "test/resource_fixtures/private_routing"
+ assert ResourceRegistration.register_plugin plugin
+ end
+
end
diff --git a/webservice/test/resource_fixtures/private_routing/config/routes.rb b/webservice/test/resource_fixtures/private_routing/config/routes.rb
new file mode 100644
index 0000000..778f127
--- /dev/null
+++ b/webservice/test/resource_fixtures/private_routing/config/routes.rb
@@ -0,0 +1 @@
+# Dummy file. ResourceRegistration should complain
\ No newline at end of file
hooks/post-receive
--
YaST web service
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org