Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Fixing tests #86

Merged
merged 4 commits into from
Mar 5, 2015
Merged

Fixing tests #86

merged 4 commits into from
Mar 5, 2015

Commits on Jan 9, 2015

  1. Use RFC 2396 compatible URI parser for trustroot.

    From Ruby 2.2 the default `URI.parse` method uses a new RFC 3986
    compatible parser, which will parse most of the “invalid” URLs in the
    trustroot test.
    Tobias Haagen Michaelsen committed Jan 9, 2015
    Configuration menu
    Copy the full SHA
    7c84ec9 View commit details
    Browse the repository at this point in the history
  2. Added missing require statements in tests to run independently.

    Now you can run all test files individually, because each now correctly
    requires everything it needs.
    Tobias Haagen Michaelsen committed Jan 9, 2015
    Configuration menu
    Copy the full SHA
    fc499f7 View commit details
    Browse the repository at this point in the history
  3. Don't use explicit return inside Proc.

    An explicit return inside a Proc can return from the current scope.
    This fixes an issue with the test exiting before all tests are run.
    Tobias Haagen Michaelsen committed Jan 9, 2015
    Configuration menu
    Copy the full SHA
    8a522e3 View commit details
    Browse the repository at this point in the history
  4. Don't test Ruby's build in methods.

    This test became obsolete after #61 was merged,
    since the code now uses Ruby's build in `String#start_with?` rather
    than a custom implementation.
    Tobias Haagen Michaelsen committed Jan 9, 2015
    Configuration menu
    Copy the full SHA
    b6402eb View commit details
    Browse the repository at this point in the history