Mailinglist Archive: yast-devel (246 mails)

< Previous Next >
[yast-devel] Re: [yast-commit] <rest-service> master : custom-services rest plugin (originaly services plugin for fate 306696)
  • From: Jiří Suchomel <jsuchome@xxxxxxx>
  • Date: Mon, 17 Aug 2009 10:10:31 +0200
  • Message-id: <200908171010.32353.jsuchome@xxxxxxx>
On Monday 17 of August 2009 10:01:21 Jiri Suchomel wrote:
ref: refs/heads/master
commit 51c4d88d32d55c56e38a96fd782310e8890e41ea
Author: Jiri Suchomel <jsuchome@xxxxxxx>
Date: Mon Aug 17 10:01:21 2009 +0200

custom-services rest plugin (originaly services plugin for fate 306696)
---
plugins/custom_services/.gitignore | 3 +
plugins/custom_services/MIT-LICENSE | 20 +++++
plugins/custom_services/README | 7 ++
plugins/custom_services/Rakefile | 10 +++
.../app/controllers/custom_services_controller.rb | 54 +++++++++++++
.../custom_services/app/models/custom_service.rb | 70 ++++++++++++++++
.../app/views/custom_services/index.html.erb | 1 +
.../app/views/custom_services/index.json.erb | 1 +
.../app/views/custom_services/index.xml.erb | 1 +
.../app/views/custom_services/show.html.erb | 1 +
.../app/views/custom_services/show.json.erb | 1 +
.../app/views/custom_services/show.xml.erb | 1 +
plugins/custom_services/config/rails_parent.rb | 15 ++++
.../config/resources/custom_services.yml | 2 +
plugins/custom_services/init.rb | 1 +
plugins/custom_services/install.rb | 1 +
.../org.opensuse.yast.modules.yapi.services.policy | 39 +++++++++
.../package/yast2-webservice-services.changes | 16 ++++
.../package/yast2-webservice-services.spec | 83
++++++++++++++++++++ .../tasks/custom_services_tasks.rake |
6 ++
.../functional/custom_services_controller_test.rb | 51 ++++++++++++
plugins/custom_services/test/test_helper.rb | 52 ++++++++++++
plugins/custom_services/uninstall.rb | 1 +
23 files changed, 437 insertions(+), 0 deletions(-)
...

Hi!

I just added new plugin, created from old one by copying and sed-ing...

Could you help me to see why tests fail with

test_access_index(CustomServicesControllerTest):
ActionController::RoutingError: No route matches
{:controller=>"custom_services", :action=>"index"}

Is it some naming convention problem?

Jiri

--
Jiri Suchomel

SUSE LINUX, s.r.o. e-mail: jsuchome@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Praha 9, Czech Republic http://www.suse.cz
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups