Sha256: 7fe7ded077633fd7adda10ce1b21cac08ec0c038295fd946c79399aefca4807b
Contents?: true
Size: 1.13 KB
Versions: 11
Compression:
Stored size: 1.13 KB
Contents
require 'test_helper' class StepPositionsTest < ActiveSupport::IntegrationCase test 'on first' do step = :first visit(step_position_path(step)) assert has_content?('first step is the current step') # current_step? assert true # past_step? assert has_content?('last_step step is a future step') # future_step? assert has_content?('second step is a future step') # future_step? assert true # previous_step? assert has_content?('second step is the next step') # next_step? end test 'on second' do step = :second visit(step_position_path(step)) assert has_content?('second step is the current step') # current_step? assert has_content?('first step is a past step') # past_step? assert has_content?('last_step step is a future step') # future_step? assert has_content?('first step was the previous step') # previous_step? assert has_content?('last_step step is the next step') # next_step? end end # current_step? # past_step? # future_step? # previous_step? # next_step?
Version data entries
11 entries across 11 versions & 2 rubygems