Sha256: e90e952a90327a05e5cc4c4314a3fdff224008f1a44ab80d0461cd666f8d5b33

Contents?: true

Size: 352 Bytes

Versions: 7

Compression:

Stored size: 352 Bytes

Contents

require "test_helper"

class DummyControllerTest < RailsTwirp::IntegrationTest
  test "controller gets rpc name" do
    req = RPC::DummyAPI::RpcNameCheckRequest.new
    rpc RPC::DummyAPI::DummyService, "RpcNameCheck", req
    assert_instance_of RPC::DummyAPI::RpcNameCheckResponse, response
    assert_equal "RpcNameCheck", response.rpc_name
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_twirp-0.13.2 test/dummy_test.rb
rails_twirp-0.13.0 test/dummy_test.rb
rails_twirp-0.12.0 test/dummy_test.rb
rails_twirp-0.11.0 test/dummy_test.rb
rails_twirp-0.10.0 test/dummy_test.rb
rails_twirp-0.9.1 test/dummy_test.rb
rails_twirp-0.9.0 test/dummy_test.rb