Sha256: e3ee347dcd034f537468489683e84b6389469fa278ca06ebab4ae4a6af500ef6

Contents?: true

Size: 384 Bytes

Versions: 5

Compression:

Stored size: 384 Bytes

Contents

require 'helper'

describe CheckMobi::Resources::CountryList do
  before do
    @endpoint = 'https://api.checkmobi.com/v1/countries'
    stub_get_request(@endpoint)
  end

  it "should request country list" do
    @resource = CheckMobi::Resources::CountryList.new
    @resource.perform
    assert_requested(:get, @endpoint, headers: headers_without_authorization, times: 1)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
check_mobi-1.0.5 test/check_mobi/resources/country_test.rb
check_mobi-1.0.4 test/check_mobi/resources/country_test.rb
check_mobi-1.0.3 test/check_mobi/resources/country_test.rb
check_mobi-1.0.2 test/check_mobi/resources/country_test.rb
check_mobi-1.0.1 test/check_mobi/resources/country_test.rb