Skip to content

Commit

Permalink
A couple minor stylistic changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
elpete committed Mar 23, 2017
1 parent b77a87b commit 80f14e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/specs/Query/Builder+GrammarSpec.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -867,14 +867,14 @@ component extends="testbox.system.BaseSpec" {
.orderBy( [
"last_name",
"age|desc"
])
] )
.orderBy( "favorite_color", "desc" )
.orderBy( column = [ { column = "height" }, { column = "weight", direction = "asc" } ], direction = "desc" )
.orderBy( column = "eye_color", direction = "desc" )
.orderBy( [
{ column = "is_athletic", direction = "desc", extraKey = "ignored" },
builder.raw( "DATE(created_at)" )
])
] )
.orderBy( builder.raw( "DATE(modified_at)" ) );

expect( builder.toSql() ).toBeWithCase(
Expand Down Expand Up @@ -1761,4 +1761,4 @@ component extends="testbox.system.BaseSpec" {
} );
}

}
}

0 comments on commit 80f14e2

Please sign in to comment.