Sha256: 586fb6d2042ae5888e3ced0876b843eea87f23df901f11892d7e55c97ddc9b00
Contents?: true
Size: 639 Bytes
Versions: 5
Compression:
Stored size: 639 Bytes
Contents
# # ActiveFacts tests: Compare column lists created by aborption and by generated Ruby. # Copyright (c) 2008 Clifford Heath. Read the LICENSE file. # require 'spec_helper' require 'stringio' require 'activefacts/vocabulary' require 'activefacts/support' describe "Requiring vocabularies in Ruby" do ruby_failures = { "MetamodelNext" => "Has a duplicate role name", } pattern = ENV["AFTESTS"] || "*" Dir["examples/ruby/#{pattern}.rb"].each do |ruby_file| base = File.basename(ruby_file, ".rb") next if ruby_failures.include?(base) it "#{ruby_file} should load cleanly" do require ruby_file end end end
Version data entries
5 entries across 5 versions & 1 rubygems