Sha256: 28acaf38220f64eb0602c9bb7303ae3de13fc09b17deb0f108bb7c5b4f556038

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe TTY::Shell::Statement, '#new' do
  let(:input)  { StringIO.new }
  let(:output) { StringIO.new }
  let(:shell) { TTY::Shell.new(input, output) }

  subject(:statement) { described_class.new }

  it { expect(statement.newline).to eq(true) }

  it { expect(statement.color).to be_nil }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tty-0.1.0 spec/tty/shell/statement/initialize_spec.rb