Add model specs

This commit is contained in:
maddiebaka
2023-10-14 13:05:54 -04:00
parent 21445b6905
commit ad08b283b0
3 changed files with 23 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
require 'rails_helper'
RSpec.describe Definition, type: :model do
it "successfully creates a definition" do
definition = FactoryBot.create(:definition)
expect(Definition.count).to eq(1)
end
end