Sha256: 5b2ffda1a7211dc9fbc2581c2792d0f4a35c604e69a88fb63db573e011dbac09
Contents?: true
Size: 446 Bytes
Versions: 6
Compression:
Stored size: 446 Bytes
Contents
require_relative '../test_helper' describe Ebanx::Command::Zipcode do before do @params = { zipcode: '80230010' } end it "can't run without arguments" do lambda { ebanx.do_zipcode }.must_raise ArgumentError end # Evil integration test it "performs a successful request" do response = ebanx.do_zipcode @params response.http_code.must_equal 200 response.response['status'].must_equal 'SUCCESS' end end
Version data entries
6 entries across 6 versions & 1 rubygems