spec/test_model.rb in has_enum-0.8.2 vs spec/test_model.rb in has_enum-0.9.0
- old
+ new
@@ -10,5 +10,8 @@
has_enum :speed, %w[slow normal fast], :multiple => true, :presence => true
end
+class AnotherModel < ActiveRecord::Base
+ has_enums
+end