Sha256: 713099e2c2a4624a2a58910d850bd517dff4e00488edef43e894bdb4dfe8a2e0

Contents?: true

Size: 366 Bytes

Versions: 12

Compression:

Stored size: 366 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

describe Authorizme do
  describe "#configure" do
    it "passes Authorizme to the given block" do
      Authorizme.setup do |config|
        config.namespace = 'foo'
      end
      Authorizme.namespace.should == 'foo'
    end

    it "get default from configs" do
      Authorizme.remote.should == false
    end
  end  
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
authorizme-1.0.0 spec/authorizme_spec.rb
authorizme-0.0.11 spec/authorizme_spec.rb
authorizme-0.0.10 spec/authorizme_spec.rb
authorizme-0.0.9 spec/authorizme_spec.rb
authorizme-0.0.8 spec/authorizme_spec.rb
authorizme-0.0.7 spec/authorizme_spec.rb
authorizme-0.0.6 spec/authorizme_spec.rb
authorizme-0.0.5 spec/authorizme_spec.rb
authorizme-0.0.4 spec/authorizme_spec.rb
authorizme-0.0.3 spec/authorizme_spec.rb
authorizme-0.0.2 spec/authorizme_spec.rb
authorizme-0.0.1.alpha spec/authorizme_spec.rb