baarkerlounger
3 years ago
5 changed files with 8 additions and 9 deletions
@ -1,3 +1,3 @@
|
||||
class CaseLog < ApplicationRecord |
||||
enum status: ["in progress", "submitted"] |
||||
enum status: { "in progress" => 0, "submitted" => 1 } |
||||
end |
||||
|
@ -1,6 +1,6 @@
|
||||
FactoryBot.define do |
||||
factory :case_log do |
||||
id { 342351 } |
||||
id { 342_351 } |
||||
status { 0 } |
||||
end |
||||
end |
||||
|
Loading…
Reference in new issue