Sha256: 187b3297c05bfb57ab2fb224cf44920da3297bdc32b5f631755b4d39e3893d33

Contents?: true

Size: 320 Bytes

Versions: 8

Compression:

Stored size: 320 Bytes

Contents

require "test_birst_command"

class Test_login < Test::Unit::TestCase

  def setup
    Birst_Command::Config.read_config
  end

  def teardown
  end

  def test_login
    token = ""
    Session.start do |bc|
      token = bc.token
    end

    assert_equal 32, token.length, "Got an invalid token #{token}"
  end

end


Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
Birst_Command-0.5.0 test/standard/test_login.rb
Birst_Command-0.4.0 test/standard/test_login.rb
Birst_Command-0.3.0 test/standard/test_login.rb
Birst_Command-0.2.2 test/standard/test_login.rb
Birst_Command-0.2.1 test/standard/test_login.rb
Birst_Command-0.2.0 test/standard/test_login.rb
Birst_Command-0.1.1 test/standard/test_login.rb
Birst_Command-0.1.0 test/standard/test_login.rb