Module: CapUtil::BundlerCmd::TestHelpers

Defined in:
lib/cap-util/bundler_cmd.rb

Instance Method Summary collapse

Instance Method Details

#assert_bundler_cmd(util, *args) ⇒ Object



28
29
30
31
32
33
34
35
# File 'lib/cap-util/bundler_cmd.rb', line 28

def assert_bundler_cmd(util, *args)
  with_backtrace(caller) do
    assert_kind_of BundlerCmd, util

    exp = BundlerCmd.new(*args)
    assert_equal exp.cmd, util.cmd
  end
end