test/plugins/state_machine_test.rb in rocketjob-3.4.3 vs test/plugins/state_machine_test.rb in rocketjob-3.5.0
- old
+ new
@@ -1,11 +1,10 @@
require_relative '../test_helper'
module Plugins
# Unit Test for RocketJob::Job
class StateMachineTest < Minitest::Test
-
class Test
include RocketJob::Plugins::Document
include RocketJob::Plugins::StateMachine
field :name, type: String
@@ -61,9 +60,8 @@
it 'does not raise an exception when a validation fails on state transition without save' do
@doc.enable
assert @doc.enabled?
end
end
-
end
end
end