Sha256: a638d465b8ec0f8bb819fdf26a01c51361f7a9d36bdae58206d1d01f7d053b7a
Contents?: true
Size: 566 Bytes
Versions: 6
Compression:
Stored size: 566 Bytes
Contents
# frozen_string_literal: true require_relative "../helper" module Arel module Nodes describe "BindParam" do it "is equal to other bind params with the same value" do _(BindParam.new(1)).must_equal(BindParam.new(1)) _(BindParam.new("foo")).must_equal(BindParam.new("foo")) end it "is not equal to other nodes" do _(BindParam.new(nil)).wont_equal(Node.new) end it "is not equal to bind params with different values" do _(BindParam.new(1)).wont_equal(BindParam.new(2)) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems