Skip to content

Commit

Permalink
test: include variants in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
blocknotes committed Nov 3, 2023
1 parent d9e82b3 commit f639d95
Show file tree
Hide file tree
Showing 23 changed files with 91 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RSpec/DescribeClass:

RSpec/ExampleLength:
# Default is 5
Max: 10
Max: 15

RSpec/MultipleExpectations:
# Default is 1
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ group :development, :test do
gem 'mysql2' if ENV['DB_TEST'] == 'mysql'
gem 'pg' if ['postgres', 'postgresql'].include? ENV['DB_TEST']

gem "image_processing", ">= 1.2"

gem 'simplecov'
gem 'simplecov-lcov'

Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_6_1_mssql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gem "rails", "~> 6.1.0"
gem "tiny_tds"

group :development, :test do
gem "image_processing", ">= 1.2"
gem "simplecov"
gem "simplecov-lcov"
gem "capybara"
Expand Down
8 changes: 8 additions & 0 deletions gemfiles/rails_6_1_mssql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,14 @@ GEM
fasterer (0.10.1)
colorize (~> 0.7)
ruby_parser (>= 3.19.1)
ffi (1.16.3)
globalid (1.2.1)
activesupport (>= 6.1)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
image_processing (1.12.2)
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3)
json (2.6.3)
language_server-protocol (3.17.0.3)
loofah (2.21.4)
Expand All @@ -121,6 +125,7 @@ GEM
marcel (1.0.2)
matrix (0.4.2)
method_source (1.0.0)
mini_magick (4.12.0)
mini_mime (1.1.5)
mini_portile2 (2.8.4)
minitest (5.20.0)
Expand Down Expand Up @@ -235,6 +240,8 @@ GEM
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0)
ruby-vips (2.1.4)
ffi (~> 1.12)
ruby_parser (3.20.3)
sexp_processor (~> 4.16)
rubyzip (2.3.2)
Expand Down Expand Up @@ -283,6 +290,7 @@ DEPENDENCIES
capybara
factory_bot_rails (~> 6.1)
fasterer
image_processing (>= 1.2)
pry-rails
rails (~> 6.1.0)
rspec-rails
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_6_1_mysql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ gem "mysql2"
gem "rails", "~> 6.1.0"

group :development, :test do
gem "image_processing", ">= 1.2"
gem "simplecov"
gem "simplecov-lcov"
gem "capybara"
Expand Down
8 changes: 8 additions & 0 deletions gemfiles/rails_6_1_mysql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,14 @@ GEM
fasterer (0.9.0)
colorize (~> 0.7)
ruby_parser (>= 3.14.1)
ffi (1.16.3)
globalid (1.0.0)
activesupport (>= 5.0)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
image_processing (1.12.2)
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3)
loofah (2.14.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
Expand All @@ -113,6 +117,7 @@ GEM
marcel (1.0.2)
matrix (0.4.2)
method_source (1.0.0)
mini_magick (4.12.0)
mini_mime (1.1.2)
mini_portile2 (2.8.4)
minitest (5.15.0)
Expand Down Expand Up @@ -206,6 +211,8 @@ GEM
rubocop-rspec (2.8.0)
rubocop (~> 1.19)
ruby-progressbar (1.11.0)
ruby-vips (2.1.4)
ffi (~> 1.12)
ruby_parser (3.18.1)
sexp_processor (~> 4.16)
rubyzip (2.3.2)
Expand Down Expand Up @@ -251,6 +258,7 @@ DEPENDENCIES
capybara
factory_bot_rails (~> 6.1)
fasterer
image_processing (>= 1.2)
mysql2
pry-rails
rails (~> 6.1.0)
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_6_1_postgres.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ gem "pg"
gem "rails", "~> 6.1.0"

group :development, :test do
gem "image_processing", ">= 1.2"
gem "simplecov"
gem "simplecov-lcov"
gem "capybara"
Expand Down
8 changes: 8 additions & 0 deletions gemfiles/rails_6_1_postgres.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,14 @@ GEM
fasterer (0.9.0)
colorize (~> 0.7)
ruby_parser (>= 3.14.1)
ffi (1.16.3)
globalid (1.0.0)
activesupport (>= 5.0)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
image_processing (1.12.2)
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3)
loofah (2.14.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
Expand All @@ -113,6 +117,7 @@ GEM
marcel (1.0.2)
matrix (0.4.2)
method_source (1.0.0)
mini_magick (4.12.0)
mini_mime (1.1.2)
mini_portile2 (2.8.4)
minitest (5.15.0)
Expand Down Expand Up @@ -210,6 +215,8 @@ GEM
rubocop-rspec (2.8.0)
rubocop (~> 1.19)
ruby-progressbar (1.11.0)
ruby-vips (2.1.4)
ffi (~> 1.12)
ruby_parser (3.18.1)
sexp_processor (~> 4.16)
rubyzip (2.3.2)
Expand Down Expand Up @@ -255,6 +262,7 @@ DEPENDENCIES
capybara
factory_bot_rails (~> 6.1)
fasterer
image_processing (>= 1.2)
pg
pry-rails
rails (~> 6.1.0)
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_7_0_mssql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gem "rails", "~> 7.0.0"
gem "tiny_tds"

group :development, :test do
gem "image_processing", ">= 1.2"
gem "simplecov"
gem "simplecov-lcov"
gem "capybara"
Expand Down
8 changes: 8 additions & 0 deletions gemfiles/rails_7_0_mssql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,14 @@ GEM
fasterer (0.10.1)
colorize (~> 0.7)
ruby_parser (>= 3.19.1)
ffi (1.16.3)
globalid (1.2.1)
activesupport (>= 6.1)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
image_processing (1.12.2)
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3)
json (2.6.3)
language_server-protocol (3.17.0.3)
loofah (2.21.4)
Expand All @@ -127,6 +131,7 @@ GEM
marcel (1.0.2)
matrix (0.4.2)
method_source (1.0.0)
mini_magick (4.12.0)
mini_mime (1.1.5)
minitest (5.20.0)
net-imap (0.4.3)
Expand Down Expand Up @@ -239,6 +244,8 @@ GEM
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0)
ruby-vips (2.1.4)
ffi (~> 1.12)
ruby_parser (3.20.3)
sexp_processor (~> 4.16)
rubyzip (2.3.2)
Expand Down Expand Up @@ -280,6 +287,7 @@ DEPENDENCIES
capybara
factory_bot_rails (~> 6.1)
fasterer
image_processing (>= 1.2)
pry-rails
rails (~> 7.0.0)
rspec-rails
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_7_0_mysql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ gem "mysql2"
gem "rails", "~> 7.0.0"

group :development, :test do
gem "image_processing", ">= 1.2"
gem "simplecov"
gem "simplecov-lcov"
gem "capybara"
Expand Down
8 changes: 8 additions & 0 deletions gemfiles/rails_7_0_mysql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,14 @@ GEM
fasterer (0.10.1)
colorize (~> 0.7)
ruby_parser (>= 3.19.1)
ffi (1.16.3)
globalid (1.2.1)
activesupport (>= 6.1)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
image_processing (1.12.2)
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3)
json (2.6.3)
language_server-protocol (3.17.0.3)
loofah (2.21.4)
Expand All @@ -124,6 +128,7 @@ GEM
marcel (1.0.2)
matrix (0.4.2)
method_source (1.0.0)
mini_magick (4.12.0)
mini_mime (1.1.5)
minitest (5.20.0)
mysql2 (0.5.5)
Expand Down Expand Up @@ -239,6 +244,8 @@ GEM
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0)
ruby-vips (2.1.4)
ffi (~> 1.12)
ruby_parser (3.20.3)
sexp_processor (~> 4.16)
rubyzip (2.3.2)
Expand Down Expand Up @@ -279,6 +286,7 @@ DEPENDENCIES
capybara
factory_bot_rails (~> 6.1)
fasterer
image_processing (>= 1.2)
mysql2
pry-rails
rails (~> 7.0.0)
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_7_0_postgres.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ gem "pg"
gem "rails", "~> 7.0.0"

group :development, :test do
gem "image_processing", ">= 1.2"
gem "simplecov"
gem "simplecov-lcov"
gem "capybara"
Expand Down
8 changes: 8 additions & 0 deletions gemfiles/rails_7_0_postgres.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,14 @@ GEM
fasterer (0.10.1)
colorize (~> 0.7)
ruby_parser (>= 3.19.1)
ffi (1.16.3)
globalid (1.2.1)
activesupport (>= 6.1)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
image_processing (1.12.2)
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3)
json (2.6.3)
language_server-protocol (3.17.0.3)
loofah (2.21.4)
Expand All @@ -124,6 +128,7 @@ GEM
marcel (1.0.2)
matrix (0.4.2)
method_source (1.0.0)
mini_magick (4.12.0)
mini_mime (1.1.5)
minitest (5.20.0)
net-imap (0.4.3)
Expand Down Expand Up @@ -239,6 +244,8 @@ GEM
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0)
ruby-vips (2.1.4)
ffi (~> 1.12)
ruby_parser (3.20.3)
sexp_processor (~> 4.16)
rubyzip (2.3.2)
Expand Down Expand Up @@ -279,6 +286,7 @@ DEPENDENCIES
capybara
factory_bot_rails (~> 6.1)
fasterer
image_processing (>= 1.2)
pg
pry-rails
rails (~> 7.0.0)
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_7_1_mysql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ gem "mysql2"
gem "rails", "~> 7.1.0"

group :development, :test do
gem "image_processing", ">= 1.2"
gem "simplecov"
gem "simplecov-lcov"
gem "capybara"
Expand Down
8 changes: 8 additions & 0 deletions gemfiles/rails_7_1_mysql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,14 @@ GEM
fasterer (0.10.1)
colorize (~> 0.7)
ruby_parser (>= 3.19.1)
ffi (1.16.3)
globalid (1.2.1)
activesupport (>= 6.1)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
image_processing (1.12.2)
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3)
io-console (0.6.0)
irb (1.8.3)
rdoc
Expand All @@ -141,6 +145,7 @@ GEM
marcel (1.0.2)
matrix (0.4.2)
method_source (1.0.0)
mini_magick (4.12.0)
mini_mime (1.1.5)
minitest (5.20.0)
mutex_m (0.1.2)
Expand Down Expand Up @@ -267,6 +272,8 @@ GEM
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0)
ruby-vips (2.1.4)
ffi (~> 1.12)
ruby2_keywords (0.0.5)
ruby_parser (3.20.3)
sexp_processor (~> 4.16)
Expand Down Expand Up @@ -309,6 +316,7 @@ DEPENDENCIES
capybara
factory_bot_rails (~> 6.1)
fasterer
image_processing (>= 1.2)
mysql2
pry-rails
rails (~> 7.1.0)
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_7_1_postgres.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ gem "pg"
gem "rails", "~> 7.1.0"

group :development, :test do
gem "image_processing", ">= 1.2"
gem "simplecov"
gem "simplecov-lcov"
gem "capybara"
Expand Down
Loading

0 comments on commit f639d95

Please sign in to comment.