Sha256: c3e36ec66ce7fbe2e59c620d1a52b878c9fbe6fbd06730d2ec7fd9baa9888265

Contents?: true

Size: 292 Bytes

Versions: 9

Compression:

Stored size: 292 Bytes

Contents

require "metamorpher/builders/ast/greedy_variable_builder"

describe Metamorpher::Builders::AST::GreedyVariableBuilder do
  it_behaves_like "a greedy variable builder"

  it "should raise when incorrect 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/greedy_variable_builder_spec.rb
metamorpher-0.2.5 spec/unit/builders/ast/greedy_variable_builder_spec.rb
metamorpher-0.2.4 spec/unit/builders/ast/greedy_variable_builder_spec.rb
metamorpher-0.2.3 spec/unit/builders/ast/greedy_variable_builder_spec.rb
metamorpher-0.2.2 spec/unit/builders/ast/greedy_variable_builder_spec.rb
metamorpher-0.2.1 spec/unit/builders/ast/greedy_variable_builder_spec.rb
metamorpher-0.2.0 spec/unit/builders/ast/greedy_variable_builder_spec.rb
metamorpher-0.1.1 spec/unit/builders/ast/greedy_variable_builder_spec.rb
metamorpher-0.1.0 spec/unit/builders/ast/greedy_variable_builder_spec.rb