Sha256: 7e4ff31617d532fbbd5204369e2931c59e500a58b8390e58e32884ce98e1c89d

Contents?: true

Size: 514 Bytes

Versions: 3

Compression:

Stored size: 514 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

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

3 entries across 3 versions & 1 rubygems

Version Path
basquiat-1.3.2 spec/lib/basquiat_spec.rb
basquiat-1.3.1 spec/lib/basquiat_spec.rb
basquiat-1.3.0 spec/lib/basquiat_spec.rb