Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 115270e167
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (15 sloc) 0.496 kb
require File.join(File.dirname(__FILE__), "..", 'lib', 'active_mdb')
require 'test/unit'
require File.join(File.dirname(__FILE__), 'test_helper')
class MDBTest < Test::Unit::TestCase
def setup
end
def test_table_exclusion
create_mdb(:exclude => ['Inventory'])
assert !@db.tables.include?('Inventory')
end
def test_table_inclusion
create_mdb(:include => ['Inventory', 'Room'])
assert_equal ['Inventory', 'Room'], @db.tables.sort
end
end
Jump to Line
Something went wrong with that request. Please try again.