Sha256: d2b08fa0c7559572788742e736d40e28ca33c128a8506b644d40387eb0cbeb4c

Contents?: true

Size: 247 Bytes

Versions: 8

Compression:

Stored size: 247 Bytes

Contents

require 'spec_helper'
require 'dentaku/exceptions'

describe Dentaku::UnboundVariableError do
  it 'includes variable name(s) in message' do
    exception = described_class.new(['length'])
    expect(exception.message).to match /length/
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dentaku-2.0.11 spec/exceptions_spec.rb
dentaku-2.0.10 spec/exceptions_spec.rb
dentaku-2.0.9 spec/exceptions_spec.rb
dentaku-2.0.8 spec/exceptions_spec.rb
dentaku-2.0.7 spec/exceptions_spec.rb
dentaku-2.0.6 spec/exceptions_spec.rb
dentaku-2.0.5 spec/exceptions_spec.rb
dentaku-2.0.4 spec/exceptions_spec.rb