SublimeText / RSpec

Sublime Text 2 / 3 plugin for RSpec BDD Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should not use double-quotes when not needed

stupied4ever opened this issue · comments

It's not a good idea to use double-quotes when not need string interpolation or special symbols.

Creating a context should be

context 'title of ths context' do
    # test something...
end

instead of

context "title of ths context" do
    # test something...
end

Same is expected for describes and any other like that

https://github.com/bbatsov/ruby-style-guide#strings

Hi @stupied4ever , please see #42 (comment)
Closing for now but feel free to discuss further or reopen this issue.