Sha256: fd1e8de33cdd402d5d43453228a3c36cb98d2e6ac910feb0c2b45302b8c477f9

Contents?: true

Size: 695 Bytes

Versions: 9

Compression:

Stored size: 695 Bytes

Contents

require 'assert'

require 'assert/options'
require 'assert/view/default_view'
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::DefaultView, 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

9 entries across 9 versions & 1 rubygems

Version Path
assert-1.1.0 test/assert_test.rb
assert-1.0.0 test/assert_test.rb
assert-0.8.1 test/assert_test.rb
assert-0.8.0 test/assert_test.rb
assert-0.7.3 test/assert_test.rb
assert-0.7.2 test/assert_test.rb
assert-0.7.1 test/assert_test.rb
assert-0.7.0 test/assert_test.rb
assert-0.6.0 test/assert_test.rb