Skip to content

Commit b0d97f9

Browse files
committed
Add debug Gem
This will make debugging rspec examples easier.
1 parent 5117a90 commit b0d97f9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ source "https://rubygems.org"
44

55
gem "byebug", "~> 11.1", platforms: %i[mri mingw x64_mingw]
66
gem "chunky_png", "~> 1.4"
7+
gem "debug", "~> 1.10", require: false, platform: :mri
78
gem "ferrum", github: "radiopaedia/ferrum", branch: "94-expose-mobile"
89
gem "image_size", "~> 3.0"
910
gem "launchy", "~> 2.5"

spec/spec_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# frozen_string_literal: true
22

33
require "bundler/setup"
4+
require "debug"
45
require "rspec"
56

67
PROJECT_ROOT = File.expand_path("..", __dir__)
@@ -32,6 +33,7 @@
3233

3334
module TestSessions
3435
Cuprite = Capybara::Session.new(:cuprite, TestApp)
36+
CupriteMobile = Capybara::Session.new(:cuprite_mobile, TestApp)
3537
end
3638

3739
RSpec.configure do |config|

0 commit comments

Comments
 (0)