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