Permalink
Browse files

Use simpler require for spec_helper

  • Loading branch information...
1 parent be2a6cf commit be1f234945146cd2bcefd08f8c0a239104c665f3 @nertzy nertzy committed Mar 24, 2012
@@ -1,4 +1,4 @@
-require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
+require "spec_helper"
describe PgSearch do
context "joining to another table" do
@@ -1,4 +1,4 @@
-require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
+require "spec_helper"
describe PgSearch::Document do
with_table "pg_search_documents", {}, &DOCUMENTS_SCHEMA
@@ -1,4 +1,4 @@
-require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
+require "spec_helper"
describe PgSearch::Multisearch do
with_table "pg_search_documents", {}, &DOCUMENTS_SCHEMA
@@ -1,4 +1,4 @@
-require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
+require "spec_helper"
describe PgSearch::Multisearchable do
with_table "pg_search_documents", {}, &DOCUMENTS_SCHEMA
@@ -1,4 +1,4 @@
-require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
+require "spec_helper"
describe "an ActiveRecord model which includes PgSearch" do

0 comments on commit be1f234

Please sign in to comment.