From a75095670840858d8fecd46bbcca81194851f706 Mon Sep 17 00:00:00 2001 From: Micah Geisel Date: Sat, 1 Feb 2020 14:32:57 -0800 Subject: [PATCH] add byebug for debugging. --- .gitignore | 1 + Gemfile | 1 + Gemfile.lock | 2 ++ spec/spec_helper.rb | 3 ++- 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index bf3f73f..e628ebe 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ tmp/* .ruby-version .vagrant .idea/ +.byebug_history diff --git a/Gemfile b/Gemfile index 7e55a3b..0b98f7b 100644 --- a/Gemfile +++ b/Gemfile @@ -1,2 +1,3 @@ gemspec +gem "byebug" diff --git a/Gemfile.lock b/Gemfile.lock index ee56f50..17694b4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -32,6 +32,7 @@ GEM bson_ext (1.12.5) bson (~> 1.12.5) builder (2.1.2) + byebug (10.0.2) coderay (1.1.2) couch_potato (1.3.0) activemodel @@ -244,6 +245,7 @@ DEPENDENCIES activerecord-mysql2-adapter bson_ext bundler + byebug couch_potato cucumber database_cleaner! diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b58e50e..362950c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,6 @@ require "bundler/setup" -require 'database_cleaner' +require "database_cleaner" +require "byebug" RSpec.configure do |config| # These two settings work together to allow you to limit a spec run