I'm thiking in assert the output. But if that is too trick or nor worth I'm
fine with your implementation.

On Wednesday, November 6, 2013, Ivan Antropov wrote:

> In test/nodes/test_sql_literal.rb:
>
> > @@ -56,6 +57,12 @@ module Nodes
> >            @visitor.accept(node).must_be_like %{ (foo = 1 AND foo = 2) }
> >          end
> >        end
> > +
> > +      describe 'serialization' do
> > +        it 'serializes into YAML' do
> > +          SqlLiteral.new('*').to_yaml
>
> What do you offer ? As you say before - assert_nothing_raised is
> deprecated. May be assert_not_nil ?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rails/arel/pull/216/files#r7484402>
> .
>


-- 
Rafael Mendonça França
http://twitter.com/rafaelfranca
https://github.com/rafaelfranca