1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/test/nodes/test_select_statement.rb

13 lines
317 B
Ruby

require 'helper'
describe Arel::Nodes::SelectStatement do
describe "#clone" do
it "clones cores" do
statement = Arel::Nodes::SelectStatement.new %w[a b c]
dolly = statement.clone
dolly.cores.must_equal statement.cores
dolly.cores.wont_be_same_as statement.cores
end
end
end