summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-05-03 13:34:55 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-05-03 13:34:55 -0700
commit966c206b924860bc6f3d95f7d0cf209a7d60e361 (patch)
tree3eeab572f789283b64a2dfe1119a70c90203c505 /spec/spec_helper.rb
parent0bbce98dedfb1d5e77aebd844f034250cf0150c0 (diff)
downloadlibyajl2-gem-966c206b924860bc6f3d95f7d0cf209a7d60e361.tar.gz
levelling up test infrastruture
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index ef0e092..63a138c 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,4 +1,4 @@
-$: << File.expand_path(File.join(File.dirname( __FILE__ ), "../lib"))
+$LOAD_PATH << File.expand_path(File.join(File.dirname( __FILE__ ), "../lib"))
require 'libyajl2'
@@ -6,8 +6,8 @@ RSpec.configure do |c|
c.order = 'random'
- c.expect_with :rspec do |c|
- c.syntax = :expect
+ c.expect_with :rspec do |c2|
+ c2.syntax = :expect
end
end