SublimeText / RSpec

Sublime Text 2 / 3 plugin for RSpec BDD Framework
124 stars 57 forks source link

Spec files not created #53

Closed skalb closed 9 years ago

skalb commented 9 years ago

When I try to create a new module (cmd + alt + .): I get the following error:

Traceback (most recent call last): File "RSpecCreateModule in /Users/sameer/Library/Application Support/Sublime Text 3/Installed Packages/RSpec.sublime-package", line 49, in on_done TypeError: begin_edit() missing 2 required positional arguments: 'edit_token' and 'cmd' Writing file[...]/app/models/test.rb with encoding UTF-8 (atomic)

Version: v1.2014.1125

Any ideas?

princemaple commented 9 years ago

Hi @skalb it seems this feature had been broken since long before I started taking care this project. I've never used it before, but it seems like an easy feature to implement / fix. Do you want to give it a go and fix it or do you want me to do it later, I've been quite busy recently.

Thanks for reporting!

princemaple commented 9 years ago

@skalb I fixed this today in https://github.com/SublimeText/RSpec/commit/535af4e05dc89ead149ffa5e99218fd0b58125b3 :)