Sha256: 2698e01de4434de9a4f073a1b5d9bc9e8ba2dc6a109fcaa91ef7d25f060a01d4
Contents?: true
Size: 393 Bytes
Versions: 4
Compression:
Stored size: 393 Bytes
Contents
Given /^I start the gritano console$/ do @console = Gritano::Console.new @console.ssh_path = 'tmp' end When /^I execute "(.*?)"$/ do |command| @output = @console.execute(command.split(' ')) end Then /^I should see a (success|error) message$/ do |ret| expected_output = true if ret == 'success' expected_output = false if ret == 'error' @output[0].should be == expected_output end
Version data entries
4 entries across 4 versions & 1 rubygems