Sha256: f6d11e5181bba96a4fbdfbe55657c46e3cce096dc5145f3b0c9977417650b30a

Contents?: true

Size: 327 Bytes

Versions: 2

Compression:

Stored size: 327 Bytes

Contents

require 'spec_helper'

describe Activable do
  it "can be configured" do
    Activable.setup do |config|
      config.set has_responsible: false
      config.set responsible: "Atest"
    end
    Activable.configuration[:has_responsible].should eql(false)
    Activable.configuration[:responsible].should eql("Atest")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activable-0.1.1 spec/activable_spec.rb
activable-0.1.0 spec/activable_spec.rb