Sha256: c587346a03d0dddfc994691886d08a7562b420ffaf219c8921ba6a37c12d0001

Contents?: true

Size: 403 Bytes

Versions: 2

Compression:

Stored size: 403 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
    
    after(:each) do
      VkontakteApi.reset
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vkontakte_api-1.0.rc2 spec/vkontakte_api_spec.rb
vkontakte_api-1.0.rc spec/vkontakte_api_spec.rb