30 Apr '14, 11pm

@lgarvey @Adkron @cmaxw @dbrady @garybernhardt Variations w/ or w/o tmux detailed in + in links at bottom of article.

Test driven development thrives on a tight feedback loop. However, switching from the editor to the shell to manually run specs is inefficient. Tools such as autotest and guard run specs whenever a file gets saved. Although an improvement over a manual workflow, those approaches often run the suite when not needed and run too many or too few specs. Enter vim-rspec , a lightweight vim plugin that runs specs directly from within vim with the press of a key. It exposes methods such as RunNearestSpec() , RunCurrentSpecFile() , and RunLastSpec() , which can be bound to a key mapping of your choice. In thoughtbot/dotfiles , we bind those methods to <Leader>s , <Leader>t , and <Leader>l . Cursor over any line within an RSpec spec like this: describe RecipientInterceptor do it 'overrides to/cc/bcc fields' do Mail.register_interceptor RecipientInterceptor.new(recipient_string) resp...

Full article: http://robots.thoughtbot.com/running-specs-from-vim

Tweets

Actually, We Don’t Think Google Hates HARO Links

Actually, We Don’t Think Google Hates HARO Links

searchengineland.com 30 Apr '14, 6pm

Despite the buzz going through the SEO industry today, we don’t believe that Google is specifically targeting links that a...

How To Amp Up Your User Engagement (And Get More Links)

How To Amp Up Your User Engagement (And Get Mor...

searchengineland.com 29 Apr '14, 2pm

People like to link to content that shows signs of life. If you have an active community, people are more likely to return...