Sha256: 29b3bdd5503bf2b54ad1c11deda3c2bb487bd901c84e9cec997db684e69ee989

Contents?: true

Size: 688 Bytes

Versions: 2

Compression:

Stored size: 688 Bytes

Contents

require 'assert'

require 'assert/options'
require 'assert/view/terminal'
require 'assert/runner'
require 'assert/suite'

module Assert
  class AssertOptionsTest < Assert::Context
    desc "options for Assert"
    subject { Assert.options }

    should "be an Options::Base object" do
      assert_kind_of Assert::Options::Base, subject
    end

    should "default the view option" do
      assert_kind_of Assert::View::Terminal, subject.default_view
    end

    should "default the suite option" do
      assert_kind_of Assert::Suite, subject.default_suite
    end

    should "default the runner option" do
      assert_equal Assert::Runner, subject.default_runner
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
assert-0.5.0 test/assert_test.rb
assert-0.4.0 test/assert_test.rb