Sha256: c16af148303c21422665e5c022224d08c5872d9ff3395700cc3eef10acfbcb8d

Contents?: true

Size: 340 Bytes

Versions: 78

Compression:

Stored size: 340 Bytes

Contents

require 'spec_helper'

RSpec.describe 'HelloWorldHandler', type: :request do
  context 'sayHello' do
    it 'success' do
      request("rubypitaya.helloWorldHandler.sayHello")

      expected_response = {
        code: 'RP-200',
        data: { message: 'Hello!' } 
      }

      expect(response).to eq(expected_response)
    end
  end
end

Version data entries

78 entries across 74 versions & 1 rubygems

Version Path
rubypitaya-3.19.6 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.19.5 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.19.4 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.19.3 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.19.2 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.19.1 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.19.0 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.18.0 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.17.2 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.17.1 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.17.0 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.16.0 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.15.3 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.15.2 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.15.1 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.15.0 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.14.0 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.13.1 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.13.0 ./lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rubypitaya-3.12.1/lib/rubypitaya/app-template/spec/hello_world_handler_spec.rb