ref: refs/heads/master
commit a846d24c58e357c949c709c0cde6d69cd272c278
Author: Klaus Kämpf
Date: Mon Jul 13 12:12:13 2009 +0200
add relative path to 'require', makes tests runnable standalone
---
.../functional/controlpanel_controller_test.rb | 2 +-
webclient/test/functional/hosts_controller_test.rb | 2 +-
.../test/functional/playground_controller_test.rb | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/webclient/test/functional/controlpanel_controller_test.rb b/webclient/test/functional/controlpanel_controller_test.rb
index 57f50c4..020b149 100644
--- a/webclient/test/functional/controlpanel_controller_test.rb
+++ b/webclient/test/functional/controlpanel_controller_test.rb
@@ -1,4 +1,4 @@
-require 'test_helper'
+require File.dirname(__FILE__) + '/../test_helper'
class ControlpanelControllerTest < ActionController::TestCase
# Replace this with your real tests.
diff --git a/webclient/test/functional/hosts_controller_test.rb b/webclient/test/functional/hosts_controller_test.rb
index 4d3099f..f2e98d7 100644
--- a/webclient/test/functional/hosts_controller_test.rb
+++ b/webclient/test/functional/hosts_controller_test.rb
@@ -1,4 +1,4 @@
-require 'test_helper'
+require File.dirname(__FILE__) + '/../test_helper'
class HostsControllerTest < ActionController::TestCase
# Replace this with your real tests.
diff --git a/webclient/test/functional/playground_controller_test.rb b/webclient/test/functional/playground_controller_test.rb
index f27bdab..ea6f358 100644
--- a/webclient/test/functional/playground_controller_test.rb
+++ b/webclient/test/functional/playground_controller_test.rb
@@ -1,4 +1,4 @@
-require 'test_helper'
+require File.dirname(__FILE__) + '/../test_helper'
class PlaygroundControllerTest < ActionController::TestCase
# Replace this with your real tests.
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org