spec/support/test_classes.rb in mutator-0.1.0 vs spec/support/test_classes.rb in mutator-0.2.0
- old
+ new
@@ -1,10 +1,10 @@
module Mutator
class Stateholder < Machine
def self.transitions
[
- { from: [:initial_state], to: :second_state },
+ { from: :initial_state, to: :second_state },
{ from: [:second_state], to: :third_state }
]
end
end
end
@@ -16,8 +16,8 @@
def state
@state ||= :initial_state
end
- def self.where(*)
+ def self.where *_
end
end