Sha256: cebc72e6045e81022018a97e0802a2dd7ec308c62e1e89896a68426e06b5dfe9

Contents?: true

Size: 276 Bytes

Versions: 15

Compression:

Stored size: 276 Bytes

Contents

When(/^it is outputted$/) do
  @output = @model.to_s
end

When(/^the models are compared$/) do
  @results = []

  (@models.count - 1).times do |index|
    @results << (@models[index] == @models[index + 1])
  end

  @results << (@models.first == @models.last)
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
cuke_modeler-2.1.0 testing/cucumber/step_definitions/action_steps.rb
cuke_modeler-2.0.0 testing/cucumber/step_definitions/action_steps.rb
cuke_modeler-1.5.1 testing/cucumber/step_definitions/action_steps.rb
cuke_modeler-1.5.0 testing/cucumber/step_definitions/action_steps.rb
cuke_modeler-1.4.0 testing/cucumber/step_definitions/action_steps.rb
cuke_modeler-1.3.0 testing/cucumber/step_definitions/action_steps.rb
cuke_modeler-1.2.1 testing/cucumber/step_definitions/action_steps.rb
cuke_modeler-1.2.0 testing/cucumber/step_definitions/action_steps.rb
cuke_modeler-1.1.1 testing/cucumber/step_definitions/action_steps.rb
cuke_modeler-1.1.0 testing/cucumber/step_definitions/action_steps.rb
cuke_modeler-1.0.4 testing/cucumber/step_definitions/action_steps.rb
cuke_modeler-1.0.3 testing/cucumber/step_definitions/action_steps.rb
cuke_modeler-1.0.2 testing/cucumber/step_definitions/action_steps.rb
cuke_modeler-1.0.1 features/step_definitions/action_steps.rb
cuke_modeler-1.0.0 features/step_definitions/action_steps.rb