Sha256: f3330b68b145e7eb1d4de30b5736ea36ecd96a0694741f67b084443a8a68d721

Contents?: true

Size: 429 Bytes

Versions: 14

Compression:

Stored size: 429 Bytes

Contents

require_relative '../test_helper'
require_relative '../files/models/auto_shop'

class AutoShopAvailableTest < MiniTest::Test
  def setup
    @auto_shop = AutoShop.new
  end

  def test_should_be_in_available_state
    assert_equal 'available', @auto_shop.state
  end

  def test_should_allow_tow_vehicle
    assert @auto_shop.tow_vehicle
  end

  def test_should_not_allow_fix_vehicle
    refute @auto_shop.fix_vehicle
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
state_machines-0.5.0 test/functional/auto_shop_available_test.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/state_machines-0.2.2/test/functional/auto_shop_available_test.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/state_machines-0.2.2/test/functional/auto_shop_available_test.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/state_machines-0.2.2/test/functional/auto_shop_available_test.rb
state_machines-0.4.0 test/functional/auto_shop_available_test.rb
state_machines-0.3.0 test/functional/auto_shop_available_test.rb
state_machines-0.2.2 test/functional/auto_shop_available_test.rb
state_machines-0.2.1 test/functional/auto_shop_available_test.rb
state_machines-0.2.0 test/functional/auto_shop_available_test.rb
state_machines-0.1.4 test/functional/auto_shop_available_test.rb
state_machines-0.1.3 test/functional/auto_shop_available_test.rb
state_machines-0.1.2 test/functional/auto_shop_available_test.rb
state_machines-0.1.1 test/functional/auto_shop_available_test.rb
state_machines-0.1.0 test/functional/auto_shop_available_test.rb