Sha256: 6cf30bee3ed0a17b99932c4f81f24bc86e24162fa87ece7cef1b0bc85d88fe08

Contents?: true

Size: 427 Bytes

Versions: 2

Compression:

Stored size: 427 Bytes

Contents

require 'helper'

class TestSoFarSoGood < Minitest::Test
  should "figure out the vendor directory" do
    assert File.exists?(SoFarSoGood.vendor_directory)
  end

  should "return the clause hash" do
    assert_equal Array, SoFarSoGood.clauses.class
    assert_equal 616, SoFarSoGood.clauses.count
  end

  should "accept clause options" do
    assert_equal 567, SoFarSoGood.clauses(:exclude_reserved => true).count
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
so_far_so_good-0.0.3 test/so_far_so_good_test.rb
so_far_so_good-0.0.2 test/so_far_so_good_test.rb