Skip to content

Instantly share code, notes, and snippets.

View bjelline's full-sized avatar

Brigitte Jellinek bjelline

View GitHub Profile
@bjelline
bjelline / capistrano_db_dump_and_clone_to_local.rb
Last active June 8, 2017 11:41 — forked from rrichards/capistrano_db_dump_and_clone_to_local.rb
Capistrano: Dump and clone to local database
# Directly copied from eycap-0.5.2 (thanks!)
#
# With these tasks you can:
# - dump your production database and save it in shared_path/db_backups
# - dump your production into your local database (clone_to_local)
#
# Tested and fixed by fjguzman
# migrated to capistrano 3 by bjelline
namespace :db do
require 'rails_helper'
RSpec.describe TodosController, :type => :controller do
describe "GET #index" do
#describe "POST #create" do
#describe "GET #show" do
#describe "PATCH #update" do (or PUT #update)
#describe "DELETE #destroy" do
#describe "GET #new" do
@bjelline
bjelline / README.md
Last active December 22, 2015 02:28