Skip to content

Commit 785c4a1

Browse files
author
Lee Richmond
committed
Add helpful testing gems
Addresses #1911 (comment)
1 parent 1dc2b74 commit 785c4a1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ group :test do
4545
gem 'sqlite3', platform: (@windows_platforms + [:ruby])
4646
gem 'activerecord-jdbcsqlite3-adapter', platform: :jruby
4747
gem 'codeclimate-test-reporter', require: false
48+
gem 'm', '~> 1.5', platform: [:ruby]
49+
gem 'pry-byebug', '~> 3.4', platform: [:ruby]
4850
end
4951

5052
group :development, :test do

test/test_helper.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
STDERR.puts 'Running without SimpleCov'
1010
end
1111

12+
begin
13+
require 'pry-byebug'
14+
rescue LoadError
15+
STDOUT.puts 'Running without pry-byebug...'
16+
end
17+
1218
require 'timecop'
1319
require 'rails'
1420
require 'action_controller'

0 commit comments

Comments
 (0)