From 1dbc4126265b705b91a45fe2ee2db365b38d14c5 Mon Sep 17 00:00:00 2001 From: Ben Langfeld Date: Thu, 12 Sep 2013 16:24:20 -0300 Subject: [PATCH] [CS] Remove unnecessary boilerplate It appears this was just copied from somewhere else --- Guardfile | 13 ++++--------- spec/spec_helper.rb | 2 -- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/Guardfile b/Guardfile index d88b02a..a638e93 100644 --- a/Guardfile +++ b/Guardfile @@ -1,10 +1,5 @@ -ENV['SKIP_RCOV'] = 'true' - -group 'rspec' do - guard 'rspec', :cli => '--format documentation', :all_on_start => true, :all_after_pass => true do - watch(%r{^spec/.+_spec\.rb$}) - watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } - watch('spec/spec_helper.rb') { "spec/" } - end +guard 'rspec', :cli => '--format documentation', :all_on_start => true, :all_after_pass => true do + watch(%r{^spec/.+_spec\.rb$}) + watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } + watch('spec/spec_helper.rb') { "spec/" } end - diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 1d58016..f3aee1b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,7 +1,5 @@ # encoding: utf-8 -$testing = true - %w{ sippy_cup }.each { |f| require f }