Shoulda Matcher Snippets for Sublime Text 2
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ActiveRecord
.gitignore
README.md

README.md

Sublime Text 2 - Shoulda Matcher Snippets

Thoughtbot Shoulda Matchers

Installation

cd ~/Library/Application Support/Sublime Text 2/Packages
git clone git@github.com:ChuckJHardy/SublimeText-Shoulda.git Shoulda

Tab Completion

ActiveRecord

itsh it { should }

itshbt it { should belong_to(:MODEL) }

itshhm it { should have_many(:MODEL) }

itshhmt it { should have_many(:MODEL).through(:MODEL) }