Skip to content

Commit a58f156

Browse files
committed
👷 Update test harness
1 parent 4d7342f commit a58f156

File tree

6 files changed

+25
-64
lines changed

6 files changed

+25
-64
lines changed

.idea/workspace.xml

Lines changed: 19 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@
2929
# Ensure database schema is loaded
3030
# Combustion should handle this automatically, but we'll be explicit
3131
if ActiveRecord::Base.connection.tables.empty?
32-
load File.expand_path("../internal/db/schema.rb", __dir__)
32+
load File.expand_path("internal/db/schema.rb", __dir__)
3333
end

spec/integration/hanami_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# frozen_string_literal: true
22

3-
require "integration_helper"
4-
53
# Only run on latest Ruby
64
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0")
5+
require "integration_helper"
76
require "rom"
87
require "rom-sql"
98

spec/integration/rails_spec.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# frozen_string_literal: true
22

3-
require "integration_helper"
4-
53
# Only run on latest Ruby
64
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0")
7-
# Load Combustion and Rails
8-
require_relative "../support/combustion_helper"
5+
require "integration_helper"
6+
require "combustion_helper"
97

108
RSpec.describe "Rails Integration", :integration, integration_framework: :rails do
119
include Rack::Test::Methods

spec/integration/roda_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# frozen_string_literal: true
22

3-
require "integration_helper"
4-
53
# Only run on latest Ruby
64
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0")
5+
require "integration_helper"
76
require "roda"
87
require "rom"
98
require "rom-sql"

spec/integration/sinatra_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# frozen_string_literal: true
22

3-
require "integration_helper"
4-
53
# Only run on latest Ruby
64
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0")
5+
require "integration_helper"
76
require_relative "../dummies/sinatra_app/app"
87

98
RSpec.describe "Sinatra Integration", :integration, integration_framework: :sinatra do

0 commit comments

Comments
 (0)