Sha256: 88f35439a4d74d7101953eee4a1409241baeab7676224dac966b766f707b908c
Contents?: true
Size: 439 Bytes
Versions: 2
Compression:
Stored size: 439 Bytes
Contents
require 'helper' class AssignsModelTest < ActiveSupport::TestCase test "should assign default column" do assert_equal User.stepper_current_step_column, :current_step end test "should assign column from options" do assert_equal Company.stepper_current_step_column, :my_step end test "should assign default steps" do company = Company.new assert_equal company.stepper_steps, ["step1", "step2", "step3"] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stepper-0.2.0 | test/models/assigns_test.rb |
stepper-0.1.0 | test/models/assigns_test.rb |