spec/support/matchers.rb in httpi-0.1.0 vs spec/support/matchers.rb in httpi-0.2.0

- old
+ new

@@ -1,8 +1,8 @@ RSpec::Matchers.define :be_a_valid_httpi_response do match do |actual| actual.should be_an(HTTPI::Response) - actual.code.should == Some.response_code - actual.headers.should == Some.headers + actual.code.should == 200 + actual.headers.should be_a(Hash) actual.body.should == Fixture.xml end end