Skip to content

Commit 3cda8f3

Browse files
author
Jake
committed
Fix forum_spec test
1 parent 6bc6321 commit 3cda8f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/models/forum_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
it "is scoped by default" do
1111
if ActiveRecord::Base.connection.class.to_s =~ /Mysql/
12-
Forem::Forum.all.to_sql.should =~ /ORDER BY `forem_forums`.`name` ASC/
12+
Forem::Forum.all.to_sql.should =~ /ORDER BY `forem_forums`.`position` ASC/
1313
else
14-
Forem::Forum.all.to_sql.should =~ /ORDER BY \"forem_forums\".\"name\" ASC/
14+
Forem::Forum.all.to_sql.should =~ /ORDER BY \"forem_forums\".\"position\" ASC/
1515
end
1616
end
1717

0 commit comments

Comments
 (0)