Module: ShellShock::CommandSpec
- Defined in:
- lib/shell_shock/command_spec.rb
Instance Method Summary collapse
Instance Method Details
#with_help(text) ⇒ Object
9 10 11 |
# File 'lib/shell_shock/command_spec.rb', line 9 def with_help(text) it("displays help") { expect(@command.help).to eq(text) } end |
#with_usage(text) ⇒ Object
5 6 7 |
# File 'lib/shell_shock/command_spec.rb', line 5 def with_usage(text) it("displays usage") { expect(@command.usage).to eq(text) } end |