spec/erector/convenience_spec.rb in erector-0.8.1 vs spec/erector/convenience_spec.rb in erector-0.8.2
- old
+ new
@@ -11,9 +11,10 @@
mock(widget).to_html({:prettyprint => true})
widget.to_pretty
end
it "passes extra options through to to_html" do
+ pending "RR problem with Ruby 1.9" if RUBY_VERSION >= "1.9.0"
widget = Erector.inline do
div "foo"
end
mock(widget).to_html({:prettyprint => true, :extra => "yay"})
widget.to_pretty(:extra => "yay")