spec/test_model.rb in has_enum-0.7.3 vs spec/test_model.rb in has_enum-0.8.0
- old
+ new
@@ -6,7 +6,9 @@
has_enum :size, :query_methods => false
has_enum ["status", :state], [:pending, :failed, :done], :presence => true
+ has_enum :speed, %w[slow normal fast], :multiple => true, :presence => true
+
end