Sha256: a87dabe985bb9c04cedcc35d06adbb70716389d65f66ca2ab78046566da56dd1

Contents?: true

Size: 376 Bytes

Versions: 3

Compression:

Stored size: 376 Bytes

Contents

require 'spec_helper'

describe "should find the feature file using the root (and monkey patching the result)" do
  feature "examples/test2.feature"

  step "that :first + :second is calculated" do |first, second|
    @first = first
    @second = second
  end

  step "my result is :result" do |result|
    expect(@first.to_i + @second.to_i - 1).to eq(result.to_i)
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rutabaga-3.0.2 examples/test_spec.rb
rutabaga-3.0.1 examples/test_spec.rb
rutabaga-3.0.0 examples/test_spec.rb