Closed maxmeyer closed 9 years ago
I also added activesupport
to test
and development
group to make use of strip_heredoc
which is quite handy if you have to handle long indented strings. It removes all leading whitespace which makes it easy to use this in tests.
<<-EOS.strip_heredoc
def blub
"hello world"
end
EOS
Thanks for working on this @maxmeyer. I'm excited to get a proper test suite in place.
Your PRs go a bit deeper than my Ruby chops are comfortable with, so I'd :heart: to get some input from some other folks as well.
@andrew @ttaylorr @tarebyte @btmills Would any of you guys be willing to help review this as well as #39, #40, and #41?
Thanks @jasonlong, happy to. This PR looks fine to me, and I like the direction it's headed in. I had a few minor, style-related concerns, but besides that everything else looks good.
Better? :-) @ttaylorr
Thanks! I'm happy with this PR, lgtm.
/to @jasonlong
Fixed merge conflict.
And rebased....
2 down!
Thanks
Hi there, as discussed in #35 here's a PR for basic stuff to setup testing. I also added
simplecov
,rubocop
andinch
for qa. I also added some more rake tasks and organize it a bit differently. Hope this was ok.Next QA-step would be to let
rubocop
fix most offenses automatically. It does a decent job and is non-destrutive from my experience. There are ~ 200 offenses not fix which might be discussed first and are non-trival to fix.