Project

General

Profile

Revision dcfb98fd

Added by Thomas McKay almost 9 years ago

hosts-test - confirm expected host is present

View differences:

test/csv_test_helper.rb
20 20

  
21 21
def ctx
22 22
  {
23
    :adapter => :csv,
24 23
    :interactive => false
25 24
  }
26 25
end
27 26

  
28
def hammer
29
  HammerCLI::MainCommand.new("", ctx)
27
def hammer(context=nil)
28
  HammerCLI::MainCommand.new("", context || ctx)
30 29
end
31 30

  
32 31
def capture

Also available in: Unified diff