Sha256: e5b39b03f49ef18b133f3878c457cde7bb229042cb86ae74e0e2950b04b362a3

Contents?: true

Size: 694 Bytes

Versions: 4

Compression:

Stored size: 694 Bytes

Contents

require 'ruby_speech'

Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f}

schema_file_path = File.expand_path File.join(__FILE__, '../../assets/synthesis.xsd')
puts "Loading the SSML Schema from #{schema_file_path}..."
SSML_SCHEMA = Nokogiri::XML::Schema File.open(schema_file_path)
puts "Finished loading schema."

schema_file_path = File.expand_path File.join(__FILE__, '../../assets/grammar.xsd')
puts "Loading the GRXML Schema from #{schema_file_path}..."
GRXML_SCHEMA = Nokogiri::XML::Schema File.open(schema_file_path)
puts "Finished loading schema."

RSpec.configure do |config|
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby_speech-2.2.1-java spec/spec_helper.rb
ruby_speech-2.2.1 spec/spec_helper.rb
ruby_speech-2.2.0-java spec/spec_helper.rb
ruby_speech-2.2.0 spec/spec_helper.rb