Sha256: 068b910340b5a622fb1529a384eaecc44eeec142856e7c8c9b67bb4138d0a0e5

Contents?: true

Size: 289 Bytes

Versions: 6

Compression:

Stored size: 289 Bytes

Contents

Given /^I have GLI installed$/ do
  add_to_lib_path(GLI_LIB_PATH)
end

Given /^my terminal size is "([^"]*)"$/ do |terminal_size|
  if terminal_size =~/^(\d+)x(\d+)$/
    ENV['COLUMNS'] = $1
    ENV['LINES'] = $2
  else
    raise "Terminal size should be COLxLines, e.g. 80x24" 
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gli-2.0.0.rc8 features/step_definitions/gli_executable_steps.rb
gli-2.0.0.rc7 features/step_definitions/gli_executable_steps.rb
gli-2.0.0.rc6 features/step_definitions/gli_executable_steps.rb
gli-2.0.0.rc5 features/step_definitions/gli_executable_steps.rb
gli-2.0.0.rc4 features/step_definitions/gli_executable_steps.rb
gli-2.0.0.rc3 features/step_definitions/gli_executable_steps.rb