spec/spec_helper.rb in signore-0.2.3 vs spec/spec_helper.rb in signore-0.2.4
- old
+ new
@@ -7,8 +7,8 @@
Bogus.configure { |config| config.search_modules << Signore }
class String
def dedent
- gsub(/^#{self[/\A\s*/]}/, '')
+ gsub(/^#{scan(/^ +/).min}/, '')
end
end