Skip to content

Instantly share code, notes, and snippets.

@practicingruby
Created August 7, 2008 17:54
Show Gist options
  • Save practicingruby/4455 to your computer and use it in GitHub Desktop.
Save practicingruby/4455 to your computer and use it in GitHub Desktop.
$ spec spec/
Prawn specs: Running on Ruby Version: 1.9.0
.......................F.F.................................................................................................F.......................
1)
Spec::Mocks::MockExpectationError in 'When ending each page should execute the lambda specified by on_page_end'
Mock 'page_end_proc' expected :[] with (any args) 3 times, but received it 0 times
/Users/sandal/devel/prawn/spec/document_spec.rb:68:in `block (2 levels) in <top (required)>'
2)
Spec::Mocks::MockExpectationError in 'When ending each page should compress the page content stream if compression is enabled'
Mock 'Prawn::Reference' expected :compress_stream with (any args) once, but received it 0 times
/Users/sandal/devel/prawn/spec/document_spec.rb:93:in `block (2 levels) in <top (required)>'
3)
NoMethodError in 'A Reference object should compress a stream upon request'
undefined method `compress_stream' for #<Prawn::Reference:0x71c4b0>
/Users/sandal/devel/prawn/spec/reference_spec.rb:36:in `block (2 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment