Sha256: 2438cf7122307179596b8142c3f11f99f1a68acb81db33e823fa888da405fcfc

Contents?: true

Size: 492 Bytes

Versions: 2

Compression:

Stored size: 492 Bytes

Contents

require "minitest/autorun"
require File.expand_path("../minitest_helper", __FILE__)

describe "Callisto" do

  it "should have a configuration" do
    Callisto.configuration.must_be_instance_of Callisto::Configuration
  end

  it "must cache configuration" do
    Callisto.configuration.object_id.must_equal Callisto.configuration.object_id
  end

  it "yields the current configuration" do
    Callisto.configure do |config|
      config.must_equal Callisto.configuration
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
callisto-0.9.1 spec/callisto_spec.rb
callisto-0.9 spec/callisto_spec.rb