Skip to content

paulsturgess/decaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Automatically convert Mocha syntax to rspec-mocks

Topics

Resources

Stars

Watchers

Forks

Languages