Sha256: 7b6c39269e12f52c9db7045797907a0e1cc6ebc9876c075f10a0446354297e82

Contents?: true

Size: 517 Bytes

Versions: 1

Compression:

Stored size: 517 Bytes

Contents

require File.expand_path('../../test_helper', __FILE__)

class ConfigurationTest < Jibeset::Test

  def setup
    @valid_config = Jibeset::Test.valid_config
  end

  def test_valid_options
    @valid_config.call
    Jibeset::Configuration::VALID_OPTIONS_KEYS.each do |key|
      assert Jibeset.options.include? key
    end
  end

  def test_configure
    @valid_config.call
    assert_equal Jibeset.oauth_callback, nil
  end

  def test_reset
    Jibeset.reset
    assert_equal nil, Jibeset.oauth_callback
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jibeset-0.2 test/jibeset/configuration_test.rb