Problem running tests on Ubuntu Natty #2

Open
dasch opened this Issue May 22, 2011 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

dasch commented May 22, 2011

I get the following failure:

test_png_request_sends_a_png_as_file(NavigationTest)
    [/home/daniel/Projects/rqrcode-rails3/test/integration/navigation_test.rb:19:in `test_png_request_sends_a_png_as_file'
     activesupport (3.0.7) lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
     activesupport (3.0.7) lib/active_support/testing/setup_and_teardown.rb:67:in `run'
     activesupport (3.0.7) lib/active_support/callbacks.rb:419:in `_run_setup_callbacks'
     activesupport (3.0.7) lib/active_support/testing/setup_and_teardown.rb:65:in `run']:
<"\211PNG\r\n\032\n\000\000\000\rIHDR\000\000\001k\000\000\001k\001\000\000\000\000?"> expected but was
<"\211PNG\r\n\032\n\000\000\000\rIHDR\000\000\001k\000\000\001k\020\004\000\000\000\355">.

samvincent added a commit that referenced this issue May 22, 2011

Owner

samvincent commented May 22, 2011

Latest version matches against the first 25 chars instead of 30... Not sure if that will fix this. Let me know.

Contributor

dasch commented May 23, 2011

Now I get this instead:

test_png_request_returns_an_PNG_file(NavigationTest)
    [/home/daniel/Projects/rqrcode-rails3/test/integration/navigation_test.rb:19:in `test_png_request_returns_an_PNG_file'
     activesupport (3.0.7) lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
     activesupport (3.0.7) lib/active_support/testing/setup_and_teardown.rb:67:in `run'
     activesupport (3.0.7) lib/active_support/callbacks.rb:419:in `_run_setup_callbacks'
     activesupport (3.0.7) lib/active_support/testing/setup_and_teardown.rb:65:in `run']:
<"\211PNG\r\n\032\n\000\000\000\rIHDR\000\000\001k\000\000\001k\001"> expected but was
<"\211PNG\r\n\032\n\000\000\000\rIHDR\000\000\001k\000\000\001k\020">.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment