Sha256: b61473ed2a2bace9589e7ebd9273b1ab7935a4765296880a37012fb9d61db12e

Contents?: true

Size: 322 Bytes

Versions: 7

Compression:

Stored size: 322 Bytes

Contents

When /^I receive a "(.*?)" command$/ do |cmd|
  @command = Gritano::Command.eval(cmd)
end

Then /^I should see that it is a "(.*?)": "(.*?)" "(.*?)"$/ do |access, command, repo|
  @command[:access].to_s.should be == access
  @command[:command].to_s.should be == command
  @command[:repo].to_s.should be == repo if repo
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gritano-0.4.1 features/step_definitions/command_step.rb
gritano-0.4.0 features/step_definitions/command_step.rb
gritano-0.3.2 features/step_definitions/command_step.rb
gritano-0.3.0 features/step_definitions/command_step.rb
gritano-0.2.2 features/step_definitions/command_step.rb
gritano-0.2.1 features/step_definitions/command_step.rb
gritano-0.2.0 features/step_definitions/command_step.rb