aboutsummaryrefslogtreecommitdiffstats
path: root/test/nodes/test_bind_param.rb
blob: 011de6410c3bb91670290f2496dee809834711d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true
require 'helper'

module Arel
  module Nodes
    describe 'BindParam' do
      it 'is equal to other bind params' do
        BindParam.new.must_equal(BindParam.new)
      end

      it 'is not equal to other nodes' do
        BindParam.new.wont_equal(Node.new)
      end
    end
  end
end