Permalink
Browse files

test with syck on 1.9

  • Loading branch information...
1 parent e066786 commit e6b980d12e76eea7804bda6936f7f9c64d6d3dbe @ludicast ludicast committed May 6, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 spec/yaml_dump_spec.rb
View
@@ -25,6 +25,10 @@
it "should return a yaml string that contains a table header and column names" do
+ if RUBY_VERSION.split(".")[1] == "9"
+
+ YAML::ENGINE.yamler = "syck"
+ end
YamlDb::Dump.stub!(:table_column_names).with('mytable').and_return([ 'a', 'b' ])
YamlDb::Dump.dump_table_columns(@io, 'mytable')
@io.rewind

0 comments on commit e6b980d

Please sign in to comment.