Bump with_model (#20222)
This commit is contained in:
parent
282004c72a
commit
341f64c0d3
3 changed files with 3 additions and 5 deletions
2
Gemfile
2
Gemfile
|
|
@ -173,6 +173,6 @@ group :test do
|
|||
gem "timecop", "~> 0.9" # A gem providing "time travel" and "time freezing" capabilities, making it dead simple to test time-dependent code
|
||||
gem "vcr", "~> 6.1" # Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests
|
||||
gem "webmock", "~> 3.17", require: false # WebMock allows stubbing HTTP requests and setting expectations on HTTP requests
|
||||
gem "with_model", "~> 2.1.6" # Dynamically build a model within an RSpec context
|
||||
gem "with_model", "~> 2.1.7" # Dynamically build a model within an RSpec context
|
||||
gem "zonebie", "~> 0.6.1" # Runs your tests in a random timezone
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1122,7 +1122,7 @@ DEPENDENCIES
|
|||
web-console (~> 4.2)
|
||||
webmock (~> 3.17)
|
||||
webpacker (~> 5.4.3)
|
||||
with_model (~> 2.1.6)
|
||||
with_model (~> 2.1.7)
|
||||
yard (~> 0.9)
|
||||
yard-activerecord (~> 0.0)
|
||||
yard-activesupport-concern (~> 0.0)
|
||||
|
|
|
|||
|
|
@ -4,9 +4,7 @@ require "rails_helper"
|
|||
# See https://github.com/jenseng/hair_trigger#testing
|
||||
RSpec.describe HairTrigger do
|
||||
describe ".migrations_current?" do
|
||||
# Temporarily disabling this as it is causing problems with the test suite at the moment.
|
||||
# TODO — re-enable this test once we have a better understanding of the problem.
|
||||
xit "is always true" do
|
||||
it "is always true" do
|
||||
# work-around empty AR::Base descendants array caused by with_model cleanup
|
||||
# HairTrigger uses AR::Base to get database triggers (and compare against the schema)
|
||||
if ActiveRecord::Base.descendants.blank?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue