Initial commit
This commit is contained in:
7
spec/models/level_spec.rb
Normal file
7
spec/models/level_spec.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
RSpec.describe Level, type: :model do
|
||||
it { should validate_presence_of(:key) }
|
||||
it { should validate_presence_of(:value) }
|
||||
it { should validate_presence_of(:description) }
|
||||
end
|
||||
Reference in New Issue
Block a user