Sha256: 2ac54cf047b7c248501a0c136fd3e18e249558df41f7f615bd6c2be3b1229205
Contents?: true
Size: 267 Bytes
Versions: 2
Compression:
Stored size: 267 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe TTY::Terminal, '#page' do let(:text) { "a\n"} let(:object) { described_class.new } it 'invokes pager page method' do object.pager.should_receive(:page).with(text) object.page(text) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tty-0.0.11 | spec/tty/terminal/page_spec.rb |
tty-0.0.10 | spec/tty/terminal/page_spec.rb |