Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove unnecessary additions

  • Loading branch information...
commit 6587bc34b03b2d53f1647c0bf95642d06893ca88 1 parent 726ba3d
Erik Michaels-Ober sferik authored

Showing 1 changed file with 1 addition and 8 deletions. Show diff stats Hide diff stats

  1. +1 8 spec/helper.rb
9 spec/helper.rb
... ... @@ -1,14 +1,8 @@
1   -['..', '../../lib'].each do |path|
2   - $:.unshift dir if dir = File.expand_path(path, __FILE__) and not $:.include?(dir)
3   -end
4   -
5 1 require 'simplecov'
6 2 SimpleCov.start
7   -
8 3 require 'multi_json'
9 4 require 'rspec'
10 5
11   -
12 6 class MockDecoder
13 7 def self.decode(string, options = {})
14 8 {'abc' => 'def'}
@@ -25,11 +19,10 @@ def to_json(options = {})
25 19 end
26 20 end
27 21
28   -
29 22 def yajl_on_travis(engine)
30 23 ENV['TRAVIS'] && engine == 'yajl' && jruby?
31 24 end
32 25
33 26 def jruby?
34 27 defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
35   -end
  28 +end

0 comments on commit 6587bc3

Please sign in to comment.
Something went wrong with that request. Please try again.