Sha256: 5c00ac96ac7971554e6d637f2a43e7b5545343437db88f3200ad1aef1c02cdde
Contents?: true
Size: 578 Bytes
Versions: 7
Compression:
Stored size: 578 Bytes
Contents
require_relative '../../test_helper' describe OdeonUk do describe '.configuration' do describe '.method' do it 'sets default value' do OdeonUk.configuration.method.must_equal(:html) end end end describe '.configure' do before do OdeonUk.configure do |config| config.method = :api end end after do OdeonUk.configure do |config| config.method = :html end end it 'sets the small words for the gem to downcase' do OdeonUk.configuration.method.must_equal(:api) end end end
Version data entries
7 entries across 7 versions & 1 rubygems