Sha256: 63b00fc3544bc5036c43e8a51f313601935b0ff7b90ad62362234659c928dcab

Contents?: true

Size: 546 Bytes

Versions: 1

Compression:

Stored size: 546 Bytes

Contents

require "spec_helper"

describe FastshopCatalog::ServiceUrls do
  it "should return homolog url" do
    subject = FastshopCatalog::ServiceUrls.new("development")

    url = subject.url_for(:catalogo)

    expect(url).to eql("http://www.fastincentivos.com.br/FastServices.WsCatalogo/Catalogo.svc/service")
  end

  it "should return production url" do
    subject = FastshopCatalog::ServiceUrls.new("production")

    url = subject.url_for(:catalogo)

    expect(url).to eql("http://www.fastincentivos.com.br:8081/Catalogo.svc/service")
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fastshop_catalog-0.0.8 spec/fastshop_catalog/service_urls_spec.rb