Skip to content

Commit 189ff7b

Browse files
committed
specify terminal width for consistent tests
1 parent f468ef3 commit 189ff7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/spec_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
# Consistent Colsole output (for rspec_fixtures)
2020
ENV['TTY'] = 'off'
21+
ENV['COLUMNS'] = '80'
22+
ENV['LINES'] = '30'
2123

2224
RSpec.configure do |c|
2325
c.include SpecMixin

0 commit comments

Comments
 (0)