spec helper is in the load path, so no need for expand_path funny business
This commit is contained in:
parent
c38525d11a
commit
a265d36571
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
@ -23,4 +23,4 @@ describe Mysql2::EM::Client do
|
|||
results[0].keys.should include("second_query")
|
||||
results[1].keys.should include("first_query")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
@ -190,4 +190,4 @@ describe Mysql2::Client do
|
|||
@client.affected_rows.should eql(1)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
@ -13,4 +13,4 @@ describe Mysql2::Error do
|
|||
it "should respond to #sql_state" do
|
||||
@error.should respond_to(:sql_state)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
@ -331,4 +331,4 @@ describe Mysql2::Result do
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue