diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-18 16:18:21 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-18 16:18:21 +0200 |
commit | 215e17522fa53d857ef56ef3e0eca98d6ba37532 (patch) | |
tree | b8683e905a220b0e5968c7734289f4d97996d9df /ruby-gem/spec | |
parent | 3fd1dd8611498ec269a4a2432c8b46d580db8453 (diff) | |
download | skeletons-215e17522fa53d857ef56ef3e0eca98d6ba37532.zip skeletons-215e17522fa53d857ef56ef3e0eca98d6ba37532.tar.gz |
add spec_helper
Diffstat (limited to 'ruby-gem/spec')
-rw-r--r-- | ruby-gem/spec/lib_spec.rb | 2 | ||||
-rw-r--r-- | ruby-gem/spec/spec_helper.rb | 14 |
2 files changed, 15 insertions, 1 deletions
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 |