Sha256: 5dfac778421477682a201c3299d419a4df0e8fad1d5d166a3f7b9f698a91eb0a

Contents?: true

Size: 442 Bytes

Versions: 10

Compression:

Stored size: 442 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

module GemVersionCheck
  describe Configuration do
    after do
    end
    
    it "returns github.com as default github_host" do
      GemVersionCheck.configuration.github_host.should == "github.com"
    end

    it "returns specified value if set" do
      GemVersionCheck.configuration = { :github_host => "test" }
      GemVersionCheck.configuration.github_host.should == "test"
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gem_version_check-0.4.1 spec/configuration_spec.rb
gem_version_check-0.4.0 spec/configuration_spec.rb
gem_version_check-0.3.1 spec/configuration_spec.rb
gem_version_check-0.3.0 spec/configuration_spec.rb
gem_version_check-0.2.1 spec/configuration_spec.rb
gem_version_check-0.2.0 spec/configuration_spec.rb
gem_version_check-0.1.0 spec/configuration_spec.rb
gem_version_check-0.0.10 spec/configuration_spec.rb
gem_version_check-0.0.9 spec/configuration_spec.rb
gem_version_check-0.0.8 spec/configuration_spec.rb