summaryrefslogtreecommitdiff
path: root/spec/ffi/struct_initialize_spec.rb
diff options
context:
space:
mode:
authortduehr <tduehr@gmail.com>2014-06-05 21:56:45 -0500
committertduehr <tduehr@gmail.com>2014-06-05 21:56:45 -0500
commitdbc55cddf5d20732ccba497e5d9a73a1db840136 (patch)
treea51d9eb545ddff7d5633aaf6b11ecb12327c710f /spec/ffi/struct_initialize_spec.rb
parentd231369a7d1171e453dd94e392058f44809c11d4 (diff)
downloadffi-dbc55cddf5d20732ccba497e5d9a73a1db840136.tar.gz
remove require_relative
Diffstat (limited to 'spec/ffi/struct_initialize_spec.rb')
-rw-r--r--spec/ffi/struct_initialize_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ffi/struct_initialize_spec.rb b/spec/ffi/struct_initialize_spec.rb
index 796a584..e62b5e4 100644
--- a/spec/ffi/struct_initialize_spec.rb
+++ b/spec/ffi/struct_initialize_spec.rb
@@ -3,8 +3,8 @@
# For licensing, see LICENSE.SPECS
#
+require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
require 'ffi'
-require_relative 'spec_helper'
describe FFI::Struct, ' with an initialize function' do
it "should call the initialize function" do