Sha256: d411f60d81bf65a995f8b8fd5d5e032edd6ce39dc19ed7da3bcfca25a68f0aa7

Contents?: true

Size: 612 Bytes

Versions: 9

Compression:

Stored size: 612 Bytes

Contents

require 'rubygems'
require 'ruby_speech'
require 'mocha'

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."

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

def parse_xml(xml)
  Nokogiri::XML.parse xml, nil, nil, Nokogiri::XML::ParseOptions::NOBLANKS
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ruby_speech-0.2.2 spec/spec_helper.rb
ruby_speech-0.2.1 spec/spec_helper.rb
ruby_speech-0.2.0 spec/spec_helper.rb
ruby_speech-0.1.5 spec/spec_helper.rb
ruby_speech-0.1.4 spec/spec_helper.rb
ruby_speech-0.1.3 spec/spec_helper.rb
ruby_speech-0.1.2 spec/spec_helper.rb
ruby_speech-0.1.1 spec/spec_helper.rb
ruby_speech-0.1.0 spec/spec_helper.rb