Skip to content

Instantly share code, notes, and snippets.

@MonikaMahanthappa
Last active November 15, 2016 09:14
Show Gist options
  • Save MonikaMahanthappa/a0dadb5615b22fc6a8711715cde7548b to your computer and use it in GitHub Desktop.
Save MonikaMahanthappa/a0dadb5615b22fc6a8711715cde7548b to your computer and use it in GitHub Desktop.
# In Gemfile
source 'https://rubygems.org'
gem 'rspec'
$ bundle install
$ rspec --init
#spec_helper.rb
Dir[File.expand_path('../../models/*.rb', __FILE__)].each{|f| require f} #Load all model files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment