Permalink
Browse files

Remove unnecessary additions

  • Loading branch information...
sferik committed Dec 5, 2011
1 parent 726ba3d commit 6587bc34b03b2d53f1647c0bf95642d06893ca88
Showing with 1 addition and 8 deletions.
  1. +1 −8 spec/helper.rb
View
@@ -1,14 +1,8 @@
-['..', '../../lib'].each do |path|
- $:.unshift dir if dir = File.expand_path(path, __FILE__) and not $:.include?(dir)
-end
-
require 'simplecov'
SimpleCov.start
-
require 'multi_json'
require 'rspec'
-
class MockDecoder
def self.decode(string, options = {})
{'abc' => 'def'}
@@ -25,11 +19,10 @@ def to_json(options = {})
end
end
-
def yajl_on_travis(engine)
ENV['TRAVIS'] && engine == 'yajl' && jruby?
end
def jruby?
defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
-end
+end

0 comments on commit 6587bc3

Please sign in to comment.