Sha256: ca7707c1aca3ee81de370d0ea1b9210bcfff53328f825891313ce517060be702
Contents?: true
Size: 426 Bytes
Versions: 2
Compression:
Stored size: 426 Bytes
Contents
require_relative './support/spec_helper' require_relative '../fetch_list_of_countries' describe FetchListOfCountries do it "should successfully request a list of countries" do EM.run do subject.todo('ignored input').should succeed_according_to(lambda {|request| request.response_header.status.should == 200 request.last_effective_url.to_s.should include 'worldbank.org' }) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
em-dextras-0.4.0 | doc/samples/worldbank/spec/fetch_list_of_countries_spec.rb |
em-dextras-0.3.0 | doc/samples/worldbank/spec/fetch_list_of_countries_spec.rb |