зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-09-06 11:45:51 +03:00
Add specs configuration
Этот коммит содержится в:
20
spec/spec_helper.rb
Обычный файл
20
spec/spec_helper.rb
Обычный файл
@@ -0,0 +1,20 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.disable_monkey_patching!
|
||||
config.filter_run focus: true
|
||||
config.filter_run_excluding changes_filesystem: true
|
||||
config.run_all_when_everything_filtered = true
|
||||
config.color = true
|
||||
config.order = :random
|
||||
config.example_status_persistence_file_path = '.rspec_failures'
|
||||
|
||||
config.shared_context_metadata_behavior = :apply_to_host_groups
|
||||
|
||||
config.expect_with :rspec do |expectations|
|
||||
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
||||
end
|
||||
config.mock_with :rspec do |mocks|
|
||||
mocks.verify_partial_doubles = true
|
||||
end
|
||||
end
|
||||
Ссылка в новой задаче
Block a user