maltize/sublime-text-2-ruby-tests — pull request #186 by kassi (2013-07-24 08:47:08+00:00)
Title: Add creation of proper test file name if file does not end with .rb

View files mostly have a different extension than `.rb` - they end with `.erb`, `.haml` etc. The current code just returns the same name.

With this patch, when creating a spec/test file, you get a proper name suggestion instead of the same name as the view has.