Skip to content

Instantly share code, notes, and snippets.

@joelhooks
Last active December 27, 2015 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joelhooks/7399836 to your computer and use it in GitHub Desktop.
Save joelhooks/7399836 to your computer and use it in GitHub Desktop.
Run options: exclude {:org=>true}
......FFFF.FF.F
Failures:
1) Quarto::Build stripping source code should eq "puts \"hello, world\nif true\n puts \"goodbye, world\nend\n"
Failure/Error: expect(build.strip_listing(code)).to eq(<<END)
expected: "puts \"hello, world\nif true\n puts \"goodbye, world\nend\n"
got: "puts \"hello, world\n if true\n puts \"goodbye, world\n end"
(compared using ==)
Diff:
@@ -1,5 +1,5 @@
puts "hello, world
-if true
- puts "goodbye, world
-end
+ if true
+ puts "goodbye, world
+ end
# ./spec/quarto/build_spec.rb:258:in `block (3 levels) in <module:Quarto>'
# ./spec/quarto/build_spec.rb:257:in `block in Then'
2) pandoc_epub:epub
Failure/Error: run "rake pandoc_epub:epub"
RuntimeError:
Command `rake pandoc_epub:epub` failed with output:
rake aborted!
Don't know how to build task ''
Tasks: TOP => pandoc_epub:epub => build/deliverables/untitled-book.epub => build/pandoc_epub/book/content.opf => build/pandoc_epub/book.epub
(See full trace by running task with --trace)
# ./spec/quarto/pandoc_epub_spec.rb:28:in `block (2 levels) in <module:Quarto>'
3) sections task
Failure/Error: run "rake codex"
RuntimeError:
Command `rake codex` failed with output:
rake aborted!
undefined method `clear' for #<Quarto::StylesheetSet:0x007ff90bcc3fd8>
/private/var/folders/r8/3sc2fzc14051j56_h9dbh5540000gn/T/construct_container-62236-681918368/Rakefile:3:in `block in <top (required)>'
/Users/joel/Dropbox/writing/quarto/lib/quarto.rb:32:in `configure'
/private/var/folders/r8/3sc2fzc14051j56_h9dbh5540000gn/T/construct_container-62236-681918368/Rakefile:2:in `<top (required)>'
(See full trace by running task with --trace)
# ./spec/tasks/codex_spec.rb:28:in `block (2 levels) in <top (required)>'
4) sections task with custom metadata
Failure/Error: run "rake codex"
RuntimeError:
Command `rake codex` failed with output:
rake aborted!
undefined method `clear' for #<Quarto::StylesheetSet:0x007fc49b95eb80>
/private/var/folders/r8/3sc2fzc14051j56_h9dbh5540000gn/T/construct_container-62236-101260185/Rakefile:3:in `block in <top (required)>'
/Users/joel/Dropbox/writing/quarto/lib/quarto.rb:32:in `configure'
/private/var/folders/r8/3sc2fzc14051j56_h9dbh5540000gn/T/construct_container-62236-101260185/Rakefile:2:in `<top (required)>'
(See full trace by running task with --trace)
# ./spec/tasks/codex_spec.rb:28:in `block (2 levels) in <top (required)>'
5) highlight task
Failure/Error: expect(contents("build/highlights/3361c5f02e08bd44bde2d42633a2c9be201f7ec4.html")).to eq(<<END)
Errno::ENOENT:
No such file or directory - build/highlights/3361c5f02e08bd44bde2d42633a2c9be201f7ec4.html
# ./spec/tasks/highlight_spec.rb:28:in `block (2 levels) in <top (required)>'
# ./spec/tasks/highlight_spec.rb:27:in `block in Then'
6) master task
Failure/Error: run "rake master"
RuntimeError:
Command `rake master` failed with output:
rake aborted!
undefined method `clear' for #<Quarto::StylesheetSet:0x007fc1ab664c38>
/private/var/folders/r8/3sc2fzc14051j56_h9dbh5540000gn/T/construct_container-62236-232180229/Rakefile:3:in `block in <top (required)>'
/Users/joel/Dropbox/writing/quarto/lib/quarto.rb:32:in `configure'
/private/var/folders/r8/3sc2fzc14051j56_h9dbh5540000gn/T/construct_container-62236-232180229/Rakefile:2:in `<top (required)>'
(See full trace by running task with --trace)
# ./spec/tasks/master_spec.rb:37:in `block (2 levels) in <top (required)>'
7) skeleton task
Failure/Error: run "rake skeleton"
RuntimeError:
Command `rake skeleton` failed with output:
rake aborted!
undefined method `clear' for #<Quarto::StylesheetSet:0x007fd672f379d8>
/private/var/folders/r8/3sc2fzc14051j56_h9dbh5540000gn/T/construct_container-62236-350146988/Rakefile:3:in `block in <top (required)>'
/Users/joel/Dropbox/writing/quarto/lib/quarto.rb:32:in `configure'
/private/var/folders/r8/3sc2fzc14051j56_h9dbh5540000gn/T/construct_container-62236-350146988/Rakefile:2:in `<top (required)>'
(See full trace by running task with --trace)
# ./spec/tasks/skeleton_spec.rb:28:in `block (2 levels) in <top (required)>'
Finished in 5.59 seconds
15 examples, 7 failures
Failed examples:
rspec ./spec/quarto/build_spec.rb:257 # Quarto::Build stripping source code should eq "puts \"hello, world\nif true\n puts \"goodbye, world\nend\n"
rspec ./spec/quarto/pandoc_epub_spec.rb:31 # pandoc_epub:epub
rspec ./spec/tasks/codex_spec.rb:31 # sections task
rspec ./spec/tasks/codex_spec.rb:66 # sections task with custom metadata
rspec ./spec/tasks/highlight_spec.rb:27 # highlight task
rspec ./spec/tasks/master_spec.rb:40 # master task
rspec ./spec/tasks/skeleton_spec.rb:31 # skeleton task
/opt/boxen/rbenv/versions/1.9.3-p392/bin/ruby -S rspec ./spec/quarto/build_spec.rb ./spec/quarto/pandoc_epub_spec.rb ./spec/tasks/codex_spec.rb ./spec/tasks/export_spec.rb ./spec/tasks/highlight_spec.rb ./spec/tasks/master_spec.rb ./spec/tasks/sections_spec.rb ./spec/tasks/skeleton_spec.rb -t ~org failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment