Sha256: dae6f4b22f68c848dc7927bc2de158df8959ff22641b4d43e77d67de2d1fa222

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

require 'spec_helper'
module Alf
  describe TupleExpression, 'to_ruby_literal' do

    it 'should raise a NotImplementedError if no source code' do
      expr = TupleExpression[lambda{status > 10}]
      lambda{ expr.to_ruby_literal }.should raise_error(NotImplementedError)
    end

  end # TupleExpression
end # Alf

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-types/tuple_expression/test_to_ruby_literal.rb