Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 464 Bytes

readme.md

File metadata and controls

18 lines (12 loc) · 464 Bytes

Decaf

Automatically converts Mocha stubbing and mock syntax to rspec-mocks syntax.

Whilst this script covers most cases it's not perfect. PR's welcome!

Warning: best used with version control! Running this script will overwrite the files!

Run the tests via:

bundle exec rspec spec

Update your files via:

DIRECTORY="/path/to/directory" bundle exec run.rb