Sha256: 73d5a86def818a8b33223d0422b8a9b5f3434943fb3584a2caff1b08e602af57

Contents?: true

Size: 498 Bytes

Versions: 8

Compression:

Stored size: 498 Bytes

Contents

# frozen_string_literal: true

RSpec.describe Basquiat do
  it 'should have a version number' do
    expect(Basquiat::VERSION).not_to be_nil
  end

  it '#configure yields to a block' do
    expect { |block| Basquiat.configure(&block) }.to yield_control
  end

  it '#configuration' do
    expect(Basquiat.configuration).to be_a Basquiat::Configuration
  end

  it '#reset' do
    config = Basquiat.configuration
    Basquiat.reset
    expect(Basquiat.configuration).not_to equal(config)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
basquiat-1.6.0 spec/lib/basquiat_spec.rb
basquiat-1.5.2 spec/lib/basquiat_spec.rb
basquiat-1.5.1 spec/lib/basquiat_spec.rb
basquiat-1.5.0 spec/lib/basquiat_spec.rb
basquiat-1.4.0 spec/lib/basquiat_spec.rb
basquiat-1.3.6 spec/lib/basquiat_spec.rb
basquiat-1.3.5 spec/lib/basquiat_spec.rb
basquiat-1.3.4 spec/lib/basquiat_spec.rb