Sha256: 06a7c37fbc7787c961fb6d3e46e7b114f6a9a458d13aca6ebda22b91ce2cd252
Contents?: true
Size: 690 Bytes
Versions: 5
Compression:
Stored size: 690 Bytes
Contents
# frozen_string_literal: true # encoding: utf-8 require 'spec_helper' require 'runners/unified' base = "#{CURRENT_PATH}/spec_tests/data/unified" INVALID_UNIFIED_TESTS = Dir.glob("#{base}/invalid/**/*.yml").sort PASS_UNIFIED_TESTS = Dir.glob("#{base}/valid-pass/**/*.yml").sort FAIL_UNIFIED_TESTS = Dir.glob("#{base}/valid-fail/**/*.yml").sort describe 'Unified spec tests - valid pass' do define_unified_spec_tests(base, PASS_UNIFIED_TESTS) end describe 'Unified spec tests - invalid' do define_unified_spec_tests(base, INVALID_UNIFIED_TESTS) end describe 'Unified spec tests - expected failures' do define_unified_spec_tests(base, FAIL_UNIFIED_TESTS, expect_failure: true) end
Version data entries
5 entries across 5 versions & 1 rubygems