Sha256: e018b95b514676b7bce665dd5de50ac2ef725b303f62208f27b62fbba0ae5386
Contents?: true
Size: 479 Bytes
Versions: 6
Compression:
Stored size: 479 Bytes
Contents
require 'spec_helper' RSpec.describe RDStation do describe '.configure' do let(:client_id) { 'client_id' } let(:client_secret) { 'client_secret' } it 'sets the configuration' do RDStation.configure do |config| config.client_id = client_id config.client_secret = client_secret end expect(RDStation.configuration.client_id).to eq client_id expect(RDStation.configuration.client_secret).to eq client_secret end end end
Version data entries
6 entries across 6 versions & 1 rubygems