Sha256: 6eb0dce9ab6d5112c17499d04cc140537fbd6a05aa55a31e8a9d55882eee259c
Contents?: true
Size: 542 Bytes
Versions: 10
Compression:
Stored size: 542 Bytes
Contents
require 'test_helper' class DynamicStepsTest < ActiveSupport::IntegrationCase test 'set dynamic steps from params using prepend' do steps = ['first', 'second'] visit dynamic_steps_path(:steps => steps) assert_has_content?(steps.first.inspect) assert_has_content?(steps.inspect) end test 'set dynamic steps from params without using' do steps = ['first', 'second'] visit dynamic_different_steps_path(:steps => steps) assert_has_content?(steps.first.inspect) assert_has_content?(steps.inspect) end end
Version data entries
10 entries across 10 versions & 1 rubygems