spec/unit/system/page_spec.rb in tty-pager-0.11.0 vs spec/unit/system/page_spec.rb in tty-pager-0.12.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
RSpec.describe TTY::Pager::SystemPager, '.page' do
it "executes the pager command in a subprocess" do
text = "I try all things, I achieve what I can.\n"
allow(TTY::Pager::SystemPager).to receive(:exec_available?).and_return(true)
output = double(:output, :tty? => true)