aboutsummaryrefslogtreecommitdiffstats
path: root/test/nodes/test_bind_param.rb
blob: ea008f4c996dca0626f07afe6d6d7e7101400fd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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