Mailinglist Archive: yast-commit (883 mails)

< Previous Next >
[yast-commit] <rest-service> master : fix documentation
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Thu, 9 Jul 2009 09:33:23 +0200
  • Message-id: <E1MOo0z-0002dt-Ud@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 2854cc25442d425cfca734371bd7768c70ab6dbb
Author: Josef Reidinger <jreidinger@xxxxxxx>
Date: Thu Jul 9 09:33:23 2009 +0200

fix documentation
---
.../test/functional/systemtimes_controller_test.rb | 2 +-
webservice/lib/plugin_basic_tests.rb | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugins/time/test/functional/systemtimes_controller_test.rb
b/plugins/time/test/functional/systemtimes_controller_test.rb
index f86e547..883bf04 100644
--- a/plugins/time/test/functional/systemtimes_controller_test.rb
+++ b/plugins/time/test/functional/systemtimes_controller_test.rb
@@ -43,5 +43,5 @@ class SystemtimesControllerTest < ActionController::TestCase
assert_equal Data[:time][:timezone], time.timezone
assert_equal Data[:time][:utcstatus], time.utcstatus
assert_nil time.datetime
- end
+ end
end
\ No newline at end of file
diff --git a/webservice/lib/plugin_basic_tests.rb
b/webservice/lib/plugin_basic_tests.rb
index 7ac0864..1ac1760 100644
--- a/webservice/lib/plugin_basic_tests.rb
+++ b/webservice/lib/plugin_basic_tests.rb
@@ -9,7 +9,7 @@
# @*controller* and request specification at @*request* field. Field @*data* is
# used to test update with valid data but without permissions.
# Controller is expected to be thin layer and all dbus or system call is done
-# at model code. Controller use during reading only *read* motode of model
+# at model code. Controller use during reading only *find* metode of model
# and during writing only *save* method.
# == Example usage
# This example show basic testing of controller of plugin
@@ -28,7 +28,7 @@
# :rootlocale => "false"
# }}
# def setup
-# @model = Language
+# @model_class = Language
# @controller = LanguageController.new
# @request = ActionController::TestRequest.new
# # http://railsforum.com/viewtopic.php?id=1719
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages