Sha256: 216688fe8b633af021e7321c5a31c9fe36b48718405a9653439bf1a1d63ebfd0

Contents?: true

Size: 609 Bytes

Versions: 1

Compression:

Stored size: 609 Bytes

Contents

require 'spec_helper'

module Xmlsoccer
  describe Config do

    it 'returns correct string for DEMO' do
      expect(Xmlsoccer::Config::DEMO).to eq('Demo')
    end
    
    it 'returns correct string for FULL' do
      expect(Xmlsoccer::Config::FULL).to eq('Full')
    end
  
    it "returns correct wsdl url for FULL_URL" do
      expect(Xmlsoccer::Config::FULL_URL).to eq('http://www.xmlsoccer.com/FootballData.asmx?WSDL')
    end
  
    it "returns correct wsdl url for DEMO_URL" do
      expect(Xmlsoccer::Config::DEMO_URL).to eq('http://www.xmlsoccer.com/FootballDataDemo.asmx?WSDL')
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xmlsoccer-0.1.0 spec/xmlsoccer/config_spec.rb