Skip to content

Commit

Permalink
Create erstiebegrüßung.html from code
Browse files Browse the repository at this point in the history
Delete `erstiebegrüßung.html` from Git and create it with code in the
specs instead.
  • Loading branch information
asbjornu committed Sep 29, 2022
1 parent 2e7ed80 commit dd31338
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Empty file.
4 changes: 4 additions & 0 deletions spec/html-proofer/links_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
require "spec_helper"

describe "Links test" do
unicode_file = File.join(FIXTURES_DIR, "links", "erstiebegrüßung.html")
before(:all) { File.open(unicode_file, "w") {} }
after(:all) { File.delete(unicode_file) }

it "fails for broken internal hash (even if the file exists)" do
broken_hash_external_filepath = File.join(FIXTURES_DIR, "links", "broken_hash_external_file.html")
proofer = run_proofer(broken_hash_external_filepath, :file)
Expand Down

0 comments on commit dd31338

Please sign in to comment.