samhuri.net/test/projects/models_test.rb
Sami Samhuri 6eec569358
Rename spec suite to test and remove RSpec-era traces
Move Minitest files from spec/ to test/ and update bake tasks

to discover and run tests from test/**/*_test.rb.

Update README and AGENTS guidance to reference test/ and tests,

and drop the obsolete spec/examples.txt ignore entry.
2026-02-07 21:15:29 -08:00

15 lines
404 B
Ruby

require "test_helper"
class Pressa::Projects::ModelsTest < Minitest::Test
def test_project_helpers_compute_paths
project = Pressa::Projects::Project.new(
name: "demo",
title: "Demo",
description: "Demo project",
url: "https://github.com/samsonjs/demo"
)
assert_equal("samsonjs/demo", project.github_path)
assert_equal("/projects/demo", project.path)
end
end