Sha256: 24c718934bcfd78826232276e32ab53080d9efa38ad2bb82beb80695045db609

Contents?: true

Size: 862 Bytes

Versions: 6

Compression:

Stored size: 862 Bytes

Contents

require 'spec_helper'
require 'hairballs'

describe Hairballs do
  subject(:hairballs) { described_class }

  describe '.config' do
    subject { hairballs.config }
    it { is_expected.to be_a Hairballs::Configuration }
  end

  it { is_expected.to respond_to(:themes) }
  it { is_expected.to respond_to(:current_theme) }
  it { is_expected.to respond_to(:add_theme) }
  it { is_expected.to respond_to(:use_theme) }

  it { is_expected.to respond_to(:plugins) }
  it { is_expected.to respond_to(:loaded_plugins) }
  it { is_expected.to respond_to(:add_plugin) }
  it { is_expected.to respond_to(:load_plugin) }

  it { is_expected.to respond_to(:completion_procs) }

  it { is_expected.to respond_to(:project_name) }
  it { is_expected.to respond_to(:project_root) }
  it { is_expected.to respond_to(:rails?) }

  it { is_expected.to respond_to(:version) }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hairballs-0.2.1 spec/hairballs_spec.rb
hairballs-0.2.0 spec/hairballs_spec.rb
hairballs-0.1.3 spec/hairballs_spec.rb
hairballs-0.1.2 spec/hairballs_spec.rb
hairballs-0.1.1 spec/hairballs_spec.rb
hairballs-0.1.0 spec/hairballs_spec.rb