Sha256: 2cbca678d0def362da73c11386359f5068a703e6b47a6a4facd2a9e7b4b99f15

Contents?: true

Size: 374 Bytes

Versions: 2

Compression:

Stored size: 374 Bytes

Contents

require 'spec_helper'

module Ttycaca
  describe Terminal do
    let (:terminal) { Terminal.new }

    describe "#width" do
      it "should return a positive integer" do
        expect(terminal.width).to be > 0
      end
    end

    describe "#height" do
      it "should return a positive integer" do
        expect(terminal.height).to be > 0
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ttycaca-1.0.1 spec/ttycaca/terminal_spec.rb
ttycaca-1.0.0 spec/ttycaca/terminal_spec.rb