spec/spec_helper.rb in signore-0.0.0 vs spec/spec_helper.rb in signore-0.1.0
- old
+ new
@@ -1,7 +1,14 @@
gem 'minitest'
require 'minitest/autorun'
require 'pathname'
+require 'tempfile'
require 'tmpdir'
require_relative '../lib/signore'
+
+class String
+ def dedent
+ gsub /^#{self[/\A\s*/]}/, ''
+ end
+end