spec/spec_helper.rb in twitch-bot-4.0.0 vs spec/spec_helper.rb in twitch-bot-4.0.1
- old
+ new
@@ -1,9 +1,13 @@
# frozen_string_literal: true
require "bundler/setup"
require "rspec/core"
require "pry-byebug"
+
+require "dotenv"
+Dotenv.load(".env")
+
require_relative "../lib/twitch/bot"
RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = ".rspec_status"