TokiTranslate/spec/models/definition_spec.rb

9 lines
207 B
Ruby
Raw Normal View History

2023-10-14 17:05:54 +00:00
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