spec/swd/exception_spec.rb in swd-1.3.0 vs spec/swd/exception_spec.rb in swd-2.0.0

- old
+ new

@@ -1,14 +1,14 @@ require 'spec_helper' describe SWD::HttpError do subject do - SWD::HttpError.new 400, 'Bad Request', HTTP::Message.new_response('') + SWD::HttpError.new 400, 'Bad Request', 'Message' end its(:status) { should == 400 } its(:message) { should == 'Bad Request' } - its(:response) { should be_a HTTP::Message } + its(:response) { should == 'Message' } end describe SWD::BadRequest do its(:status) { should == 400 } its(:message) { should == 'SWD::BadRequest' } \ No newline at end of file