I implemented a Rails controller with a wash_out gem.
My controller looks like this:
class TestController < ApplicationController
include WashOut::SOAP
soap_action "int_to_string",
:args => :integer,
:return => :string
def int_to_string
render :soap => params[:value].to_s
end
end
routes.rb:
MyApp::Application.routes.draw do
wash_out :test
end
I'm not sure how I can test this controller using rspec.
Any ideas?
source
share