Sha256: e90d2bb8c15d79f182519c1739da2e37067cd41ca44f9ca979313efdf1bdf241

Contents?: true

Size: 705 Bytes

Versions: 3

Compression:

Stored size: 705 Bytes

Contents

require 'spec_helper'

describe Amico::Configuration do
  describe '#configure' do
    it 'should have default attributes' do
      Amico.configure do |configuration|
        configuration.namespace.should eql('amico')
        configuration.following_key.should eql('following')
        configuration.followers_key.should eql('followers')
        configuration.blocked_key.should eql('blocked')
        configuration.reciprocated_key.should eql('reciprocated')
        configuration.pending_key.should eql('pending')
        configuration.default_scope_key.should eql('default')
        configuration.pending_follow.should be_false
        configuration.page_size.should be(25)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
amico-2.1.0 spec/amico/configuration_spec.rb
amico-2.0.1 spec/amico/configuration_spec.rb
amico-2.0.0 spec/amico/configuration_spec.rb