Sha256: 53bb7a3682f6170ae1581dcb0f774bb8dfe55fa6e29cd39f84b5b5e62d5079e4
Contents?: true
Size: 781 Bytes
Versions: 3
Compression:
Stored size: 781 Bytes
Contents
require 'ruby_speech' include RubySpeech::GRXML include RubySpeech::XML::Language 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.mock_with :mocha config.filter_run :focus => true config.run_all_when_everything_filtered = true end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby_speech-1.1.0 | spec/spec_helper.rb |
ruby_speech-1.0.2 | spec/spec_helper.rb |
ruby_speech-1.0.1 | spec/spec_helper.rb |