Sha256: 38b3e1e0be4f5af5c2c724bb3b2f6613e9db66d5332ec7d65df45f14af1ca794

Contents?: true

Size: 260 Bytes

Versions: 18

Compression:

Stored size: 260 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.unbound_variables).to include('length')
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
dentaku-3.5.4 spec/exceptions_spec.rb
dentaku-3.5.3 spec/exceptions_spec.rb
dentaku-3.5.2 spec/exceptions_spec.rb
dentaku_zevo-3.5.2 spec/exceptions_spec.rb
dentaku-3.5.1 spec/exceptions_spec.rb
dentaku-3.5.0 spec/exceptions_spec.rb
dentaku-3.4.2 spec/exceptions_spec.rb
dentaku-3.4.1 spec/exceptions_spec.rb
dentaku-3.4.0 spec/exceptions_spec.rb
dentaku-3.3.4 spec/exceptions_spec.rb
dentaku-3.3.3 spec/exceptions_spec.rb
dentaku-3.3.2 spec/exceptions_spec.rb
dentaku-3.3.1 spec/exceptions_spec.rb
dentaku-3.3.0 spec/exceptions_spec.rb
dentaku-3.2.1 spec/exceptions_spec.rb
dentaku-3.2.0 spec/exceptions_spec.rb
dentaku-3.1.0 spec/exceptions_spec.rb
dentaku-3.0.0 spec/exceptions_spec.rb