spec/adapters/sqlite_spec.rb in sequel-3.47.0 vs spec/adapters/sqlite_spec.rb in sequel-3.48.0
- old
+ new
@@ -315,10 +315,10 @@
specify "should use a string literal in the FROM clause" do
SQLITE_DB[:t___a].sql.should == "SELECT * FROM `t` AS 'a'"
end
specify "should use a string literal in the JOIN clause" do
- SQLITE_DB[:t].join_table(:natural, :j, nil, :a).sql.should == "SELECT * FROM `t` NATURAL JOIN `j` AS 'a'"
+ SQLITE_DB[:t].join_table(:natural, :j, nil, :table_alias=>:a).sql.should == "SELECT * FROM `t` NATURAL JOIN `j` AS 'a'"
end
end
describe "SQLite::Dataset#delete" do
before do