alexrothenberg/ammeter — pull request #34 by d4rky-pl (2014-07-16 08:12:40+00:00)
Title: Fix have_correct_syntax with erb

I made a terrible mistake by relying simply on ERB.new instead of Rails own implementation. This pull request fixes that, making it possible to test anything simpler than erb one-liners. I also extended the spec to reflect this potential error.