From 205b0248f604be59249c82c429924fa52a8a8320 Mon Sep 17 00:00:00 2001 From: Chris Welham <71787007+apexatoll@users.noreply.github.com> Date: Sat, 28 Oct 2023 00:29:17 +0100 Subject: [PATCH] Auto-tag zirconia setup in feature specs --- spec/features/autoloader_spec.rb | 2 +- spec/features/command_spec.rb | 2 +- spec/features/external_config_spec.rb | 2 +- spec/features/initialiser_spec.rb | 2 +- spec/features/sqlite_setup_spec.rb | 2 +- spec/support/metadata.rb | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/features/autoloader_spec.rb b/spec/features/autoloader_spec.rb index 9be201d..f5345bc 100644 --- a/spec/features/autoloader_spec.rb +++ b/spec/features/autoloader_spec.rb @@ -1,4 +1,4 @@ -RSpec.describe "Autoloader", with_gem: :some_gem do +RSpec.describe "Autoloader" do include_context :kangaru_initialised describe "collapsed directories" do diff --git a/spec/features/command_spec.rb b/spec/features/command_spec.rb index db391cd..454e407 100644 --- a/spec/features/command_spec.rb +++ b/spec/features/command_spec.rb @@ -1,4 +1,4 @@ -RSpec.describe "Running a command", with_gem: :some_gem do +RSpec.describe "Running a command" do subject(:run_command!) { SomeGem.run!(argv) } let(:argv) { [] } diff --git a/spec/features/external_config_spec.rb b/spec/features/external_config_spec.rb index 8d422f0..82dd17b 100644 --- a/spec/features/external_config_spec.rb +++ b/spec/features/external_config_spec.rb @@ -1,4 +1,4 @@ -RSpec.describe "External application config", with_gem: :some_gem do +RSpec.describe "External application config" do subject(:apply_config!) { Kangaru.application.apply_config! } before do diff --git a/spec/features/initialiser_spec.rb b/spec/features/initialiser_spec.rb index 1ed4727..eccc99e 100644 --- a/spec/features/initialiser_spec.rb +++ b/spec/features/initialiser_spec.rb @@ -1,4 +1,4 @@ -RSpec.describe "Initialising Kangaru in a target gem", with_gem: :some_gem do +RSpec.describe "Initialising Kangaru in a target gem" do subject(:require_gem) { gem.load! } before do diff --git a/spec/features/sqlite_setup_spec.rb b/spec/features/sqlite_setup_spec.rb index 17d4ae2..4430649 100644 --- a/spec/features/sqlite_setup_spec.rb +++ b/spec/features/sqlite_setup_spec.rb @@ -1,4 +1,4 @@ -RSpec.describe "SQLite database setup", with_gem: :some_gem do +RSpec.describe "SQLite database setup" do include DatabaseSetupHelper subject(:apply_config!) { Kangaru.application.apply_config! } diff --git a/spec/support/metadata.rb b/spec/support/metadata.rb index 05d11d8..f5a8345 100644 --- a/spec/support/metadata.rb +++ b/spec/support/metadata.rb @@ -1,6 +1,6 @@ RSpec.configure do |config| path_tags = { - %r{spec/features} => { type: :feature } + %r{spec/features} => { type: :feature, with_gem: :some_gem } }.freeze path_tags.each do |file_path, tags|