We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
order_by
1 parent fffc93f commit b827864Copy full SHA for b827864
spec/sql/emitter_spec.rb
@@ -564,7 +564,7 @@
564
end
565
566
context "with `order by` clasule " do
567
- let(:stmt_order_by) { Ronin::Code::SQL::Statement.new(:SELECT,1).order_by([1, :col_x]) }
+ let(:stmt_order_by) { Ronin::Code::SQL::Statement.new(:SELECT,1).order_by(1, :col_x) }
568
569
it "must emit order_by with multiple columns" do
570
expect(subject.emit_statement(stmt_order_by)).to eq('select 1 order by (1,col_x)')
0 commit comments