Sha256: a2d2fb6e96f36f214effd19699e2cab349e84a06b36454efa74d8e0dd03c5d7d

Contents?: true

Size: 322 Bytes

Versions: 3

Compression:

Stored size: 322 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe TTY do
  let(:object) { described_class }

  it { expect(object.plugins).to be_instance_of(TTY::Plugins) }

  context 'when module' do
    it 'decorates class' do
      klass = Class.new { include TTY }
      expect(klass).to respond_to(:plugins)
    end
  end
end # TTY

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tty-0.7.0 spec/tty/tty_spec.rb
tty-0.6.1 spec/tty/tty_spec.rb
tty-0.6.0 spec/tty/tty_spec.rb