mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-15 00:24:09 +01:00
16 lines
357 B
Ruby
16 lines
357 B
Ruby
# 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
|