aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorBryan Helmkamp <bryan@brynary.com>2009-09-20 12:01:32 -0400
committerBryan Helmkamp <bryan@brynary.com>2009-09-20 12:01:32 -0400
commit72df9660c3a1a80d38ac504db86e9d5a476b62db (patch)
tree0aa760670d29873a0917ca1113c69c4c1d07811d /spec
parent58920bc508a533d02140f4df3db25c3b9e1c7597 (diff)
downloadrails-72df9660c3a1a80d38ac504db86e9d5a476b62db.tar.gz
rails-72df9660c3a1a80d38ac504db86e9d5a476b62db.tar.bz2
rails-72df9660c3a1a80d38ac504db86e9d5a476b62db.zip
Whitespace
Diffstat (limited to 'spec')
-rw-r--r--spec/arel/algebra/unit/relations/order_spec.rb2
-rw-r--r--spec/arel/engines/sql/unit/primitives/value_spec.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/arel/algebra/unit/relations/order_spec.rb b/spec/arel/algebra/unit/relations/order_spec.rb
index 4190901024..9fcdffe340 100644
--- a/spec/arel/algebra/unit/relations/order_spec.rb
+++ b/spec/arel/algebra/unit/relations/order_spec.rb
@@ -6,7 +6,7 @@ module Arel
@relation = Table.new(:users)
@attribute = @relation[:id]
end
-
+
describe "#==" do
it "returns true when the Orders are for the same attribute and direction" do
Ascending.new(@attribute).should == Ascending.new(@attribute)
diff --git a/spec/arel/engines/sql/unit/primitives/value_spec.rb b/spec/arel/engines/sql/unit/primitives/value_spec.rb
index c8f03fc270..807090e31a 100644
--- a/spec/arel/engines/sql/unit/primitives/value_spec.rb
+++ b/spec/arel/engines/sql/unit/primitives/value_spec.rb
@@ -9,11 +9,11 @@ module Arel
describe '#to_sql' do
it "appropriately quotes the value" do
Value.new(1, @relation).to_sql.should be_like('1')
-
+
adapter_is_not :postgresql do
Value.new('asdf', @relation).to_sql.should be_like("'asdf'")
end
-
+
adapter_is :postgresql do
Value.new('asdf', @relation).to_sql.should be_like("E'asdf'")
end