Blame view

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