Sha256: f57abcc27c38500dc3ed2fd79c9125a810160cae78174a499e291617ddf13a28

Contents?: true

Size: 659 Bytes

Versions: 1

Compression:

Stored size: 659 Bytes

Contents

require 'spec_helper'

describe Rhapsody do
  it 'loads spec/config.yml' do
    yaml = ConfigHelper.load
    config_variables = yaml['config_variables']

    expect(config_variables).not_to be_empty
    expect(config_variables['API_KEY'].length).not_to eql(0)
    expect(config_variables['API_SECRET'].length).not_to eql(0)
    expect(config_variables['USERNAME'].length).not_to eql(0)
    expect(config_variables['PASSWORD'].length).not_to eql(0)
  end

  it 'checks version' do
    expect(Rhapsody::VERSION).to eql('0.0.11')
  end

  it 'has a helper for getting an access token' do
    expect(AuthenticationHelper.get_access_token).not_to eql(0)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rhapsody-0.0.11 spec/rhapsody/rhapsody_spec.rb