Sha256: ae2cc8ce35680ae04ee831d553e26cf354736138a793f26918897fccc1751830

Contents?: true

Size: 268 Bytes

Versions: 9

Compression:

Stored size: 268 Bytes

Contents

require "metamorpher/builders/ast/literal_builder"

describe Metamorpher::Builders::AST::LiteralBuilder do
  it_behaves_like "a literal builder"

  it "should raise when variable shorthand is used" do
    expect { subject.INC }.to raise_error(NoMethodError)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
metamorpher-0.2.6 spec/unit/builders/ast/literal_builder_spec.rb
metamorpher-0.2.5 spec/unit/builders/ast/literal_builder_spec.rb
metamorpher-0.2.4 spec/unit/builders/ast/literal_builder_spec.rb
metamorpher-0.2.3 spec/unit/builders/ast/literal_builder_spec.rb
metamorpher-0.2.2 spec/unit/builders/ast/literal_builder_spec.rb
metamorpher-0.2.1 spec/unit/builders/ast/literal_builder_spec.rb
metamorpher-0.2.0 spec/unit/builders/ast/literal_builder_spec.rb
metamorpher-0.1.1 spec/unit/builders/ast/literal_builder_spec.rb
metamorpher-0.1.0 spec/unit/builders/ast/literal_builder_spec.rb