Skip to content

Commit

Permalink
[FIXUP] Rename Site tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbasargin committed Jan 30, 2025
1 parent b76edec commit 64505e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/IgniteTesting/Publishing/Site.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct SiteTests {
private let package = TestPackage()

@Test("Site published given there is no Markdown content")
func initialization() async throws {
func publishingWithNoMarkdownContent() async throws {
let markdownFileURL = package.contentDirectoryURL.appending(path: "story-with-valid-metadata.md")
let markdownContent = """
---
Expand All @@ -39,8 +39,8 @@ struct SiteTests {
try FileManager.default.removeItem(at: package.buildDirectoryURL)
}

@Test("Site published when Markdown content contains invalid lastModified")
func throwsBadContentDateFormatError() async throws {
@Test("Site published when Markdown content contains invalid lastModified date")
func publishingWithInvalidLastModifiedDate() async throws {
let markdownFileURL = package.contentDirectoryURL.appending(path: "story-with-invalid-lastModified.md")
let markdownContent = """
---
Expand Down

0 comments on commit 64505e2

Please sign in to comment.