blob: 0577e6bfdb6c65f184791c136ca720e66dee7aa9 (
plain) (
tree)
|
|
# frozen_string_literal: true
require "cases/helper"
require "models/post"
module ActiveRecord
class SelectTest < ActiveRecord::TestCase
fixtures :posts
def test_select_with_nil_agrument
expected = Post.select(:title).to_sql
assert_equal expected, Post.select(nil).select(:title).to_sql
end
end
end
|