aboutsummaryrefslogtreecommitdiffstats
path: root/spec/arel/engines/sql/integration
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-09-14 03:21:24 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-09-14 03:21:24 -0700
commit7a7ee72ec1cb5a0b31d0ed9cd5c58a018876b65d (patch)
tree2d7c45da9b4456689115b64e63511db68a931d84 /spec/arel/engines/sql/integration
parentbad67f8a4a480a41adb9541ddc11d1dce08990f4 (diff)
downloadrails-7a7ee72ec1cb5a0b31d0ed9cd5c58a018876b65d.tar.gz
rails-7a7ee72ec1cb5a0b31d0ed9cd5c58a018876b65d.tar.bz2
rails-7a7ee72ec1cb5a0b31d0ed9cd5c58a018876b65d.zip
Use load path rather than relative path for spec_helper requires. Also fixes specs on Ruby 1.9 since . is no longer in the load path.
Diffstat (limited to 'spec/arel/engines/sql/integration')
-rw-r--r--spec/arel/engines/sql/integration/joins/with_adjacency_spec.rb2
-rw-r--r--spec/arel/engines/sql/integration/joins/with_aggregations_spec.rb2
-rw-r--r--spec/arel/engines/sql/integration/joins/with_compounds_spec.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/arel/engines/sql/integration/joins/with_adjacency_spec.rb b/spec/arel/engines/sql/integration/joins/with_adjacency_spec.rb
index 50b0908441..37afb1a8f2 100644
--- a/spec/arel/engines/sql/integration/joins/with_adjacency_spec.rb
+++ b/spec/arel/engines/sql/integration/joins/with_adjacency_spec.rb
@@ -1,4 +1,4 @@
-require File.join(File.dirname(__FILE__), '..', '..', '..', '..', '..', 'spec_helper')
+require 'spec_helper'
module Arel
describe Join do
diff --git a/spec/arel/engines/sql/integration/joins/with_aggregations_spec.rb b/spec/arel/engines/sql/integration/joins/with_aggregations_spec.rb
index 709ae9f8d1..5ed530508a 100644
--- a/spec/arel/engines/sql/integration/joins/with_aggregations_spec.rb
+++ b/spec/arel/engines/sql/integration/joins/with_aggregations_spec.rb
@@ -1,4 +1,4 @@
-require File.join(File.dirname(__FILE__), '..', '..', '..', '..', '..', 'spec_helper')
+require 'spec_helper'
module Arel
describe Join do
diff --git a/spec/arel/engines/sql/integration/joins/with_compounds_spec.rb b/spec/arel/engines/sql/integration/joins/with_compounds_spec.rb
index 4bceef4975..5909716542 100644
--- a/spec/arel/engines/sql/integration/joins/with_compounds_spec.rb
+++ b/spec/arel/engines/sql/integration/joins/with_compounds_spec.rb
@@ -1,4 +1,4 @@
-require File.join(File.dirname(__FILE__), '..', '..', '..', '..', '..', 'spec_helper')
+require 'spec_helper'
module Arel
describe Join do