TokiTranslate/spec/models/word_spec.rb

9 lines
181 B
Ruby
Raw Normal View History

2023-10-14 17:05:54 +00:00
require 'rails_helper'
RSpec.describe Word, type: :model do
it "successfully creates a new word" do
word = FactoryBot.create(:word)
expect(Word.count).to eq(1)
end
end