Sha256: ca3748a7d731f40d3d93e4b2a3833c4d277243fe5c764499de02fa974fe67482
Contents?: true
Size: 817 Bytes
Versions: 3
Compression:
Stored size: 817 Bytes
Contents
require 'rubygems' require 'ruby_speech' require 'mocha' 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.0.0 | spec/spec_helper.rb |
ruby_speech-0.5.1 | spec/spec_helper.rb |
ruby_speech-0.5.0 | spec/spec_helper.rb |