rails-quality-assurance 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0cfa1412519cc43b6ad7c85191ba12a4038388f085528deacece61a5b8578bc3
|
|
4
|
+
data.tar.gz: a017903eb6b20ef43920d3d1e0bdc707a132b88c2bd696eccd291d9ab182d266
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f17f0c1ec9b4253a1e7fb234572c2c60bdf02b0c1e82be5f8cf712e0e711b1867d7fe7eeb811576e29dfbfc2a47edcd20c76f74c259ceeebb34f05b37af6e705
|
|
7
|
+
data.tar.gz: 1263fd9c715e1afc5d64a3d3d084aaf52354f9a6b1df40fde4e0bca5ac9e4c49322eb8535bc2f2302654bf6a6182ba5ad9ef2692671c2c2e55f8e08752bca465
|
|
@@ -6,5 +6,6 @@ require 'rails_quality_assurance/simplecov'
|
|
|
6
6
|
# 2. Configure RSpec core settings if RSpec is present
|
|
7
7
|
require 'rails_quality_assurance/rspec'
|
|
8
8
|
|
|
9
|
-
# 3.
|
|
10
|
-
|
|
9
|
+
# 3. Load the Playwright helper. Rails-specific hooks are configured after
|
|
10
|
+
# rspec/rails loads by rails_quality_assurance/rails_helper.
|
|
11
|
+
require 'rails_quality_assurance/playwright/helper'
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
require 'active_support/core_ext/object/blank'
|
|
4
|
+
require 'rails_quality_assurance/playwright/helper'
|
|
3
5
|
require 'uri'
|
|
4
6
|
|
|
5
7
|
module RailsQualityAssurance
|
|
@@ -16,6 +18,7 @@ module RailsQualityAssurance
|
|
|
16
18
|
return unless defined?(RSpec)
|
|
17
19
|
|
|
18
20
|
verify_schema!
|
|
21
|
+
RailsQualityAssurance::PlaywrightHelper.configure!
|
|
19
22
|
RSpec.configure do |config|
|
|
20
23
|
configure_fixtures(config)
|
|
21
24
|
configure_includes(config)
|