spec/cql_mysql_spec.rb in activefacts-0.8.8 vs spec/cql_mysql_spec.rb in activefacts-0.8.9
- old
+ new
@@ -46,11 +46,10 @@
# Build and save the actual file:
sql_text = sql(vocabulary)
File.open(actual_file, "w") { |f| f.write sql_text }
- next unless File.exists? expected_file
- # ("expected output file #{expected_file} not found")
+ pending("expected output file #{expected_file} not found") unless File.exists? expected_file
expected_text = File.open(expected_file) {|f| f.read }
broken = cql_mysql_failures[File.basename(actual_file, ".cql")]
if broken
pending(broken) {