Blame view

test/logon_test.rb 325 Bytes
49716587   Isaac Lewis   refactor object s...
1
2
3
4
5
6
7
8
9
10
11
12
13
  require "test_helper"
  
  class LogonTest < Minitest::Test
    def test_logon
      username = "wland"
      password = "piperita2016"
      company  = "L"
      company_password = ""
      client = ::Syspro::SysproClient.new
  
      assert_match /([A-Z0-9]{33})\w/, client.logon(username, password, company, company_password).guid
    end
  end