Sha256: 07cbdf4966bd6724b9a21f33641f78eb318be47b47c06301516465c2a7e52b7f

Contents?: true

Size: 345 Bytes

Versions: 3

Compression:

Stored size: 345 Bytes

Contents

require 'spec_helper'

describe VkontakteApi do
  describe ".configure" do
    VkontakteApi::Configuration::OPTION_NAMES.each do |name|
      it "should set the #{name}" do
        VkontakteApi.configure do |config|
          config.send("#{name}=", name)
          VkontakteApi.send(name).should == name
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vkontakte_api-0.2.1 spec/vkontakte_api_spec.rb
vkontakte_api-0.2 spec/vkontakte_api_spec.rb
vkontakte_api-0.1 spec/vkontakte_api_spec.rb