Sha256: dfd4cba6b362e8ca846f8546e186aac0a1c12dcb2695026371909f4b760d2194

Contents?: true

Size: 391 Bytes

Versions: 4

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe 'should find feature file using root (and monkey patch 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

4 entries across 4 versions & 1 rubygems

Version Path
rutabaga-3.1.3 examples/test_spec.rb
rutabaga-3.1.2 examples/test_spec.rb
rutabaga-3.1.1 examples/test_spec.rb
rutabaga-3.1.0 examples/test_spec.rb