Module: RSpec::ShellCommand::DSL

Defined in:
lib/rspec/shell_command/dsl.rb

Overview

The module for using rspec-shell_command’s DSL in a spec

Author:

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(cls) ⇒ Object



8
9
10
# File 'lib/rspec/shell_command/dsl.rb', line 8

def self.included(cls)
  cls.include RSpec::ShellCommand::Matchers
end

Instance Method Details

#`(other) ⇒ Object



12
13
14
# File 'lib/rspec/shell_command/dsl.rb', line 12

def `(other)
  RSpec::ShellCommand.new(other)
end