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 3760d87e6bfa7c6e032c57545c9a2e42a98690b7 (commit)
from 973ccc426adc31ac5f582cfbf7eea1fe1884092c (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 3760d87e6bfa7c6e032c57545c9a2e42a98690b7
Author: Klaus Kämpf
Date: Wed Jun 24 14:20:17 2009 +0200
Initial testing infrastructure
-----------------------------------------------------------------------
Summary of changes and diff:
plugins/{services => network}/Rakefile | 0
.../test/functional/networks_controller_test.rb} | 10 +++++++---
.../{commandline => network}/test/test_helper.rb | 0
3 files changed, 7 insertions(+), 3 deletions(-)
copy plugins/{services => network}/Rakefile (100%)
copy plugins/{samba_server/test/functional/sambashares_controller_test.rb => network/test/functional/networks_controller_test.rb} (63%)
copy plugins/{commandline => network}/test/test_helper.rb (100%)
diff --git a/plugins/services/Rakefile b/plugins/network/Rakefile
similarity index 100%
copy from plugins/services/Rakefile
copy to plugins/network/Rakefile
diff --git a/plugins/samba_server/test/functional/sambashares_controller_test.rb b/plugins/network/test/functional/networks_controller_test.rb
similarity index 63%
copy from plugins/samba_server/test/functional/sambashares_controller_test.rb
copy to plugins/network/test/functional/networks_controller_test.rb
index dfa5ed2..15563f9 100644
--- a/plugins/samba_server/test/functional/sambashares_controller_test.rb
+++ b/plugins/network/test/functional/networks_controller_test.rb
@@ -4,11 +4,16 @@ require 'rubygems'
require "scr"
require 'mocha'
+# Prevent contacting the system bus
+# This looks ugly but the stubs(:initialize) below causes a warning
+class Scr
+ def initialize() end
+end
-class SambasharesControllerTest < ActionController::TestCase
+class NetworksControllerTest < ActionController::TestCase
fixtures :accounts
def setup
- @controller = SambasharesController.new
+ @controller = NetworksController.new
@request = ActionController::TestRequest.new
# http://railsforum.com/viewtopic.php?id=1719
@request.session[:account_id] = 1 # defined in fixtures
@@ -19,5 +24,4 @@ class SambasharesControllerTest < ActionController::TestCase
assert_response :success
end
-
end
diff --git a/plugins/commandline/test/test_helper.rb b/plugins/network/test/test_helper.rb
similarity index 100%
copy from plugins/commandline/test/test_helper.rb
copy to plugins/network/test/test_helper.rb
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