add entry requests, invite new users
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
require "test_helper"
|
||||
|
||||
class EntryTest < ActiveSupport::TestCase
|
||||
test "should be valid with a category" do
|
||||
entry = Entry.new(category: :word)
|
||||
test "should be valid with a category and at least one translation" do
|
||||
entry = Entry.new(category: :word, fi: "test")
|
||||
assert entry.valid?
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user