client_test.rb 232 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 require "test_helper" class SysproClientTest < Minitest::Test def test_get_syspro_version client = ::Syspro::SysproClient.new assert_match /(\d+\.)?(\d+\.)?(\d+\.)?(\d+)/, client.get_syspro_version[0].http_body end end