Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented various things #8

Merged
merged 6 commits into from
Oct 1, 2012
Merged

Implemented various things #8

merged 6 commits into from
Oct 1, 2012

Commits on Sep 7, 2012

  1. Make toHaveSlot check parent's too using hasSlot.

    Maybe toHaveOwnSlot could be added for the older behavior.
    leavengood committed Sep 7, 2012
    Configuration menu
    Copy the full SHA
    222d761 View commit details
    Browse the repository at this point in the history
  2. Add stringDiffIndex, use that in toBeString.

    This fixes several edge cases when comparing strings which previously
    caused errors.
    
    Also added specs to test this new method.
    
    The existing spec for toBeString was also incorrect, the differing index
    is 8 not 9.
    leavengood committed Sep 7, 2012
    Configuration menu
    Copy the full SHA
    d92f4e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    69dca15 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6471725 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dce11ca View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2012

  1. Implement a more advanced toThrow. bekkopen#3

    Added new methods toThrowWithMessage and toThrowWithType which are
    automatically called from toThrow based on the type of the expected
    parameter. They could also be called explicitly.
    
    Add associated specs as well.
    leavengood committed Sep 8, 2012
    Configuration menu
    Copy the full SHA
    23359fc View commit details
    Browse the repository at this point in the history