Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Apr 22, 2014

  1. Ahmet AYGÜN

    fix datetime/time test cases

    ahmet authored

Feb 09, 2014

  1. Tomas D'Stefano

    Adds unprocessable entity matcher

    authored

Jan 14, 2014

  1. Tomas D'Stefano

    Migrate to the RSpec expectation syntax! =]

    authored

Nov 11, 2013

  1. Tomas D'Stefano

    Add one more spec to test Hash against have_json matcher

    authored

Sep 05, 2013

  1. Tomas D'Stefano

    Merge pull request #13 from sorens/master

    change xml_has_node to traverse XML tree until it finds a match
    authored

Aug 06, 2013

  1. Stephen Orens

    use css selectors to create a NodeSet. iterate over the NodeSet to fi…

    …nd a match
    sorens authored

Jul 25, 2013

  1. Tomas D'Stefano

    Remove should from have_json_node specs description

  2. Tomas D'Stefano

    Add have_json matcher to verify the entire json response.

Mar 21, 2013

  1. Tomas D'Stefano

    Merge pull request #12 from wafcio/404_request_matcher

    404 request matcher
    authored
  2. Krzysztof Wawer

    404 request matcher

    wafcio authored

Mar 19, 2013

  1. Krzysztof Wawer

    200 request matcher

    wafcio authored

Oct 29, 2012

  1. Tomas D'Stefano

    Bugfix #9 - Readme examples are failing. Put a valid JSON for test ag…

    …ainst.
    authored
  2. Tomas D'Stefano

    Raise InvalidJSON when JSON is invalid. Some minor refactoring about …

    …the find json node.
    authored

Oct 08, 2012

  1. Tomas D'Stefano

    Fix failing tests. I think it's better ignore timezone in the spec. U…

    …sing utc time.
    authored
  2. Tomas D'Stefano

    Time as key in the spec.

    authored

Oct 07, 2012

  1. Stephen Orens

    incorrect usage of present?. checking nil? instead. fixed cases with …

    …booleans
    sorens authored committed

Sep 18, 2012

  1. Stephen Orens

    support DateTime, Time and Date by comparing the string result

    sorens authored

Sep 10, 2012

  1. Tomas D'Stefano

    Merge pull request #2 from sorens/master

    improved implementation to fix several problems; unable to deal with null values, unable to find nodes in complex JSON.
    authored
  2. Tomas D'Stefano

    Fix typo on spec

    authored

Sep 05, 2012

  1. Stephen Orens

    additional tests

    sorens authored
  2. Stephen Orens

    removed .to_s on the expected_value field so that nodes can be tested…

    … for non-string values
    sorens authored
  3. Stephen Orens

    allow recursion to continue. improved implementation to handle more c…

    …omplex JSON.
    sorens authored

Aug 29, 2012

  1. Stephen Orens

    perhaps a better way to include a new exception, which hopefully does…

    …n't conflict
    sorens authored
  2. Stephen Orens

    fixed issue when JSON contained a key with a null value was not found…

    … via matchers. instead of returning nil in the find, throwing exception when key is not found. updated rspec tests to use new methodology. added new rspec tests for the case of nil value.
    sorens authored

Aug 02, 2012

  1. Tomas D'Stefano

    Add the #including_text for have_json_node and have_xml_node matcher:

    { :error => "Transaction error: Name can't be blank" }.to_json.should have_json_node(:error).including_text("Transaction error")
    
    "<error>Transaction error: Name can't be blank</error>".should have_xml_node(:error).including_text("Transaction error")
    authored

Jul 31, 2012

  1. Tomas D'Stefano

    Put the headers method and the content type key in the setup class an…

    …d that will be used by the headers matchers(be_json and be_xml).

Jul 16, 2012

  1. Tomas D'Stefano

    Initial Commit

Something went wrong with that request. Please try again.