New snippet for rails rspec

Bug #888668 reported by Aldis Berjoza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UltiSnips
Fix Released
Undecided
Unassigned

Bug Description

Here's new rails snippet (see attachment) I wrote at work while I was writing routing rspecs.
This snippet should be used in spec/routing directory

It will automagically fill controller name, from file name you're editing (for example if you edit "documents_routing_spec.rb", it will use "documents" as controller)

This snippet helped me to write routing spec pretty fast

Tags: rails snippet
Revision history for this message
Aldis Berjoza (graudeejs) wrote :
Revision history for this message
SirVer (sirver) wrote :

added in r321. Thanks for the contribution!

Changed in ultisnips:
status: New → Fix Committed
Revision history for this message
SirVer (sirver) wrote :

Release in 1.6.

Changed in ultisnips:
milestone: none → 1.6
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.