Skip to content

Commit

Permalink
Auto-tag zirconia setup in feature specs
Browse files Browse the repository at this point in the history
  • Loading branch information
apexatoll committed Oct 27, 2023
1 parent 0900662 commit 205b024
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion spec/features/autoloader_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RSpec.describe "Autoloader", with_gem: :some_gem do
RSpec.describe "Autoloader" do
include_context :kangaru_initialised

describe "collapsed directories" do
Expand Down
2 changes: 1 addition & 1 deletion spec/features/command_spec.rb
Original file line number Diff line number Diff line change
@@ -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) { [] }
Expand Down
2 changes: 1 addition & 1 deletion spec/features/external_config_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/features/initialiser_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/features/sqlite_setup_spec.rb
Original file line number Diff line number Diff line change
@@ -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! }
Expand Down
2 changes: 1 addition & 1 deletion spec/support/metadata.rb
Original file line number Diff line number Diff line change
@@ -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|
Expand Down

0 comments on commit 205b024

Please sign in to comment.