1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-13 23:48:55 +01:00
fab-manager/test/models/project_test.rb

16 lines
357 B
Ruby
Raw Normal View History

2023-06-29 08:47:42 +02:00
# frozen_string_literal: true
require 'test_helper'
class ProjectTest < ActiveSupport::TestCase
test 'fixtures are valid' do
Project.find_each do |project|
assert project.valid?
end
end
test 'relation project_categories' do
assert_equal [project_categories(:project_category_1)], projects(:project_1).project_categories
end
end