Repository URL to install this package:
|
Version:
4.0 ▾
|
require 'spec_helper'
describe GetFitter::API do
describe '#configure' do
before do
GetFitter::API.configure do |config|
config.url = 'https://getfitter-api.herokuapp.com/'
end
end
it 'has a configuration' do
config = GetFitter::API.configuration
expect(config).to be_a(GetFitter::Configuration)
expect(config.url).to eq('https://getfitter-api.herokuapp.com/')
end
end
end