spec/lib/sanitize_spec.rb in wikipedia-client-1.6.3 vs spec/lib/sanitize_spec.rb in wikipedia-client-1.6.4
- old
+ new
@@ -1,8 +1,8 @@
require File.dirname(__FILE__) + '/../spec_helper'
require 'json'
-describe Wikipedia::Page, ".sanitize wiki markup" do
+describe Wikipedia::Page, '.sanitize wiki markup' do
Dir[File.dirname(__FILE__) + '/../fixtures/sanitization_samples/*-raw.txt'].each do |raw_filename|
name = raw_filename.sub(/\/(.+?)\-raw\.txt$/, '\1')
sanitized_filename = raw_filename.sub('-raw', '-sanitized')
it "should sanitize #{name} properly" do
@raw = File.read(raw_filename)