Sha256: fa55720041bc9fdb1952e41ecf9377b992aa8308f6c2c27a37c261345d6320ce

Contents?: true

Size: 438 Bytes

Versions: 1

Compression:

Stored size: 438 Bytes

Contents

require 'spec_helper'

describe "README features" do
  describe "Query parameters" do
    before do
      stub_request(:get, expected_item_lists_path)
    end

    specify "are sent to remote service" do
      ExampleCom::ItemList.all(account_id: '123')
      expect_request(:get, path: expected_item_lists_path)
    end

    def expected_item_lists_path
      example_com_build_url('item_lists.json?account_id=123')
    end

  end
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
signaling-1.1.2 spec/integration/readme_features/query_parameters_spec.rb