Sha256: bbda304be17b8731387ef9728568c2fd484049efe56e21319a82099c162af074

Contents?: true

Size: 402 Bytes

Versions: 21

Compression:

Stored size: 402 Bytes

Contents

require 'test_helper'

describe Fanforce::API do

  it 'should test if var is blank' do
    assert Fanforce.is_blank?(nil)
    assert !Fanforce.is_blank?('value')

    ff = Fanforce::API.new
    assert ff.is_blank?(nil)
    assert !ff.is_blank?('value')
  end

  it 'should create new instance of fanforce with api_key' do
    assert Fanforce::API.new('13d90b01-6df7-4618-881c-c79320a0dc21')
  end

end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
fanforce-test-2.0.0.rc4 test/api/auth_test.rb
fanforce-api-2.0.0.rc6 test/api/auth_test.rb
fanforce-test-2.0.0.rc3 test/api/auth_test.rb
fanforce-api-2.0.0.rc5 test/api/auth_test.rb
fanforce-test-2.0.0.rc2 test/api/auth_test.rb
fanforce-api-2.0.0.rc4 test/api/auth_test.rb
fanforce-api-2.0.0.rc3 test/api/auth_test.rb
fanforce-api-2.0.0.rc2 test/api/auth_test.rb
fanforce-test-2.0.0.rc1 test/api/auth_test.rb
fanforce-test-1.0.0.rc1 test/api/auth_test.rb
fanforce-api-2.0.0.rc1 test/api/auth_test.rb
fanforce-api-1.6.0 test/api/auth_test.rb
fanforce-api-1.6.0.rc3 test/api/auth_test.rb
fanforce-api-1.6.0.rc2 test/api/auth_test.rb
fanforce-api-1.6.0.rc1 test/api/auth_test.rb
fanforce-api-1.0.5 test/api/auth_test.rb
fanforce-api-1.0.4 test/api/auth_test.rb
fanforce-api-1.0.3 test/api/auth_test.rb
fanforce-api-1.0.2 test/api/auth_test.rb
fanforce-api-1.0.1 test/api/auth_test.rb