Sha256: 6a63c977a406b9d1d9c345956159cc3b2340ea25e4d654e84297565a0694ba0d

Contents?: true

Size: 167 Bytes

Versions: 3

Compression:

Stored size: 167 Bytes

Contents

require "spec_helper"

RSpec.describe "function" do
  it "converts nil" do
    expect(Code::Ruby.from_code(Code.evaluate("a", ruby: { a: nil }))).to eq(nil)
  end
end

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
template-ruby-0.5.4 spec/code/code_spec.rb
language-ruby-0.5.4 spec/code/code_spec.rb
code-ruby-0.5.4 spec/code/code_spec.rb