Giter Club home page Giter Club logo

rack-piwik's People

Contributors

darthmax avatar jhass avatar lub avatar maxwell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rack-piwik's Issues

request to include tests in gem

Can we include the tests as part of the gem itself (many gems include tests)? I'm packaging this library for debian and I have to take a github tarball instead of the gem.

test failure in 0.2.1 - Asynchronous default should add tracker if body element is present

F

Failure:
test: Asynchronous default should add tracker if body element is present. (TestRackPiwik)
/media/forge/debian/git/pkg-ruby-extras/ruby-rack-piwik/test/test_rack_piwik.rb:10:in block (3 levels) in <class:TestRackPiwik>' 7: setup { mock_app :async => true, :tracker => 'somebody', :piwik_url => 'piwik.example.org', :piwik_id => '123' } 8: should "add tracker if body element is present" do 9: get "/body_only" => 10: assert_match %r{https://piwik.example.org/}, last_response.body 11: assert_match %r{123\);}, last_response.body 12: assert_match %r{</noscript>\n<!-- End Piwik Code --></body>}, last_response.body 13: assert_equal "650", last_response.headers['Content-Length'] /usr/lib/ruby/vendor_ruby/shoulda/context/context.rb:394:incall'
/usr/lib/ruby/vendor_ruby/shoulda/context/context.rb:394:in `block in create_test_from_should_hash'
<> expected but was
<>

diff:

nil

....

Finished in 0.043060714 seconds.

5 tests, 7 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
80% passed

116.12 tests/s, 162.56 assertions/s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.