Sha256: 3ec90a8683c254a784e8b65d12104de6cc891d0a4027697f1bd8120d72c6f0bd

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

require 'assert'
require 'sanford'

require 'sanford/config'

module Sanford

  class UnitTests < Assert::Context
    desc "Sanford"
    subject{ Sanford }

    should have_imeths :config, :configure, :init, :register, :hosts

    should "return a `Config` instance with the `config` method" do
      assert_kind_of Sanford::Config, subject.config
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sanford-0.10.1 test/unit/sanford_tests.rb
sanford-0.10.0 test/unit/sanford_tests.rb