Setup testing framework

This commit is contained in:
2020-02-12 13:13:04 +01:00
parent d71a686d6b
commit 0d7ce8fa2c
7 changed files with 315 additions and 24 deletions

11
Gemfile
View File

@ -30,7 +30,9 @@ gem 'bootsnap', '>= 1.4.2', require: false
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'byebug', platforms: %i[mri mingw x64_mingw]
gem 'rspec-rails', '~> 3.9'
gem 'factory_bot_rails', '~> 5.1'
end
group :development do
@ -42,5 +44,10 @@ group :development do
gem 'spring-watcher-listen', '~> 2.0.0'
end
group :test do
gem 'capybara', '~> 3.31'
gem 'guard-rspec', '~> 4.7', require: false
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
# gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]