Sha256: 711ddc9edf8a34e7fe736baee18c378c386bf4df822af712e8d67ab71b7a7844

Contents?: true

Size: 658 Bytes

Versions: 1

Compression:

Stored size: 658 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.7')
  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.7 spec/rhapsody/rhapsody_spec.rb