RSpec snippet for Sublime Text
Sublime Text snippet to create a blank RSpec spec:
<snippet>
<content><![CDATA[
RSpec.describe ${1:subject_class} do
subject(:${2:subject_name}) { described_class }
end
]]></content>
<tabTrigger>spec</tabTrigger>
<scope>source.ruby</scope>
</snippet>
Somewhat related:
- Calling the original instance method after overriding in Ruby
- Add directory to existing Sublime Text window
- Stubbing environment variables in RSpec
- Insert current date in Sublime Text
- Downloading CleanShot images with Ruby
- Updating Ruby with asdf
- Preserving backtrace during exceptions wrapping in Ruby
- Updating gems