spec helper is in the load path, so no need for expand_path funny business

This commit is contained in:
Aaron Patterson 2010-07-06 15:41:44 -07:00
parent c38525d11a
commit a265d36571
5 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
# encoding: UTF-8
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper.rb')
require 'spec_helper'
require 'rubygems'
require 'active_record'
require 'active_record/connection_adapters/mysql2_adapter'

View File

@ -1,5 +1,5 @@
# encoding: UTF-8
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper.rb')
require 'spec_helper'
require 'mysql2/em'
describe Mysql2::EM::Client do

View File

@ -1,5 +1,5 @@
# encoding: UTF-8
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper.rb')
require 'spec_helper'
describe Mysql2::Client do
before(:each) do

View File

@ -1,5 +1,5 @@
# encoding: UTF-8
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper.rb')
require 'spec_helper'
describe Mysql2::Error do
before(:each) do

View File

@ -1,5 +1,5 @@
# encoding: UTF-8
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper.rb')
require 'spec_helper'
describe Mysql2::Result do
before(:all) do