Sha256: 255c9dc3a5b75e441f6d19438cf9a67b6bc0e10d4ec6f6f234f471e605ece485
Contents?: true
Size: 514 Bytes
Versions: 16
Compression:
Stored size: 514 Bytes
Contents
require 'screen' require 'spec_helper' describe Screen do describe ".clear!" do subject(:clear!) { klass.clear! } it "clears the screen" do Screen.should_receive(:print).with("\e[2J\e[f") clear! end end describe ".height" do subject(:height) { klass.height } it "returns the height" do height.should be_nonzero end end describe ".width" do subject(:width) { klass.width } it "returns the width" do width.should be_nonzero end end end
Version data entries
16 entries across 16 versions & 1 rubygems