From d43a4e9fc1316fc9eb8ff087c52c7ca7a475c041 Mon Sep 17 00:00:00 2001 From: Nick Kallen Date: Sun, 6 Jan 2008 00:32:17 -0800 Subject: integration spec is persuasive, hopefully --- spec/sql_builder/conditions_spec.rb | 2 +- spec/sql_builder/select_builder_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/sql_builder') diff --git a/spec/sql_builder/conditions_spec.rb b/spec/sql_builder/conditions_spec.rb index c1cae902c1..dc44cedc85 100644 --- a/spec/sql_builder/conditions_spec.rb +++ b/spec/sql_builder/conditions_spec.rb @@ -10,7 +10,7 @@ describe ConditionsBuilder do column(:c, :d, 'e') end end.to_s.should be_like(""" - `a`.`b` = 'e' + `a`.`b` = `c`.`d` """) end end diff --git a/spec/sql_builder/select_builder_spec.rb b/spec/sql_builder/select_builder_spec.rb index 060c642c1b..122539967e 100644 --- a/spec/sql_builder/select_builder_spec.rb +++ b/spec/sql_builder/select_builder_spec.rb @@ -87,7 +87,7 @@ describe SelectBuilder do end.to_s.should be_like(""" SELECT * FROM `users` - ORDER BY `users`.`id`, 'alias' + ORDER BY `users`.`id`, `users`.`created_at` """) end end -- cgit v1.2.3