-
Notifications
You must be signed in to change notification settings - Fork 12
RSpec Test Template
Alistair McKinnell edited this page May 20, 2016
·
4 revisions
Rationale
We have our own RSpec template for our project.
Mechanism
Navigate to: Preferences > Editor > File and Code Templates and select RSpec Test Template on the Templates tab.
We use the following test template:
#parse("Ruby File Header.rb")
require "unit_spec_helper"
RSpec.describe ${Behaviour_name} do
it "should ${It_should}" do
expect(true).to eq(true)
end
end