зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-09-03 18:25:51 +03:00
Setup Appraisal
Этот коммит содержится в:
@@ -8,7 +8,7 @@ Bundler.require(*Rails.groups)
|
||||
module Dummy
|
||||
class Application < Rails::Application
|
||||
# Initialize configuration defaults for originally generated Rails version.
|
||||
config.load_defaults 6.0
|
||||
config.load_defaults 6.0 if Rails::VERSION::MAJOR == 6
|
||||
|
||||
# Settings in config/environments/* take precedence over those specified here.
|
||||
# Application configuration can go into files in config/initializers
|
||||
@@ -16,4 +16,3 @@ module Dummy
|
||||
# the framework and any gems in your application.
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -33,4 +33,15 @@ RSpec.configure do |config|
|
||||
config.use_transactional_fixtures = true
|
||||
config.use_instantiated_fixtures = false
|
||||
config.render_views = false
|
||||
|
||||
config.before(:suite) do
|
||||
intro = ('-' * 80)
|
||||
intro << "\n"
|
||||
intro << "- Ruby: #{RUBY_VERSION}\n"
|
||||
intro << "- Rails: #{Rails.version}\n"
|
||||
intro << "- ActiveAdmin: #{ActiveAdmin::VERSION}\n"
|
||||
intro << ('-' * 80)
|
||||
|
||||
RSpec.configuration.reporter.message(intro)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -5,10 +5,12 @@ RSpec.configure do |config|
|
||||
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.color = true
|
||||
config.tty = true
|
||||
|
||||
config.example_status_persistence_file_path = '.rspec_failures'
|
||||
config.order = :random
|
||||
config.shared_context_metadata_behavior = :apply_to_host_groups
|
||||
|
||||
config.expect_with :rspec do |expectations|
|
||||
|
||||
Ссылка в новой задаче
Block a user