Sha256: d76a2eb63711b1f50228588569c409d35fedd61c89a7259e3394c6d4db5e7a32

Contents?: true

Size: 332 Bytes

Versions: 3

Compression:

Stored size: 332 Bytes

Contents

require 'test_helper'

class ContextTest < ActiveSupport::TestCase

  test "context should return its steps" do
    assert_equal 1, @feature_two.contexts.first.steps.size

    step_1 = 'Given my name is Peter and I have an account in the system'

    assert_equal step_1, @feature_two.contexts.first.steps[0].description
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cucumber_monitor-0.0.6 test/context_test.rb
cucumber_monitor-0.0.5 test/context_test.rb
cucumber_monitor-0.0.4 test/context_test.rb