From 215e17522fa53d857ef56ef3e0eca98d6ba37532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 18 May 2012 16:18:21 +0200 Subject: add spec_helper --- ruby-gem/spec/lib_spec.rb | 2 +- ruby-gem/spec/spec_helper.rb | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 ruby-gem/spec/spec_helper.rb diff --git a/ruby-gem/spec/lib_spec.rb b/ruby-gem/spec/lib_spec.rb index 2ae8b71..49b8815 100644 --- a/ruby-gem/spec/lib_spec.rb +++ b/ruby-gem/spec/lib_spec.rb @@ -1,7 +1,7 @@ #! /usr/bin/env ruby # -*- coding: UTF-8 -*- # -require 'lib' +require 'spec_helper' # describe LIB do # diff --git a/ruby-gem/spec/spec_helper.rb b/ruby-gem/spec/spec_helper.rb new file mode 100644 index 0000000..f600367 --- /dev/null +++ b/ruby-gem/spec/spec_helper.rb @@ -0,0 +1,14 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +begin + require 'simplecov' + SimpleCov.start do + add_filter 'spec' + end +rescue LoadError +end +# +require 'lib' +# +# EOF -- cgit v1.1-2-g2b99