test_data 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +1 -5
  3. data/CHANGELOG.md +17 -1
  4. data/Gemfile.lock +1 -1
  5. data/LICENSE.txt +1 -1
  6. data/README.md +102 -102
  7. data/example/Gemfile.lock +1 -1
  8. data/example/config/credentials.yml.enc +1 -2
  9. data/example/spec/rails_helper.rb +1 -1
  10. data/example/spec/requests/boops_spec.rb +1 -5
  11. data/example/spec/requests/rails_fixtures_override_spec.rb +84 -0
  12. data/example/test/integration/better_mode_switching_demo_test.rb +2 -10
  13. data/example/test/integration/load_rollback_truncate_test.rb +40 -45
  14. data/example/test/integration/mode_switching_demo_test.rb +4 -14
  15. data/example/test/integration/parallel_boops_with_fixtures_test.rb +1 -5
  16. data/example/test/integration/parallel_boops_without_fixtures_test.rb +1 -5
  17. data/example/test/integration/rails_fixtures_double_load_test.rb +2 -2
  18. data/example/test/integration/rails_fixtures_override_test.rb +18 -35
  19. data/example/test/integration/transaction_committing_boops_test.rb +1 -10
  20. data/example/test/test_helper.rb +1 -5
  21. data/lib/generators/test_data/environment_file_generator.rb +4 -0
  22. data/lib/generators/test_data/initializer_generator.rb +1 -7
  23. data/lib/test_data.rb +32 -1
  24. data/lib/test_data/config.rb +1 -11
  25. data/lib/test_data/custom_loaders/abstract_base.rb +25 -0
  26. data/lib/test_data/custom_loaders/rails_fixtures.rb +40 -0
  27. data/lib/test_data/inserts_test_data.rb +25 -0
  28. data/lib/test_data/manager.rb +185 -0
  29. data/lib/test_data/truncates_test_data.rb +31 -0
  30. data/lib/test_data/version.rb +1 -1
  31. data/script/test +1 -0
  32. metadata +8 -3
  33. data/lib/test_data/transactional_data_loader.rb +0 -300
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 492abd0bddc1329c073d45cb984dd60aa374f3520c6d3362bec34ece165f0407
4
- data.tar.gz: efee863beeba57aa27e98d8b833ca0398d022baaa710b8a741d8da3995a71dce
3
+ metadata.gz: b4b24762c44d8997a2c66d9dde519931efe100390e3f075defdbbc777cb6a1c6
4
+ data.tar.gz: 5709a9832370b6047d1f3c68b837558a62fd858912b6d9f9afb41e3a7119898f
5
5
  SHA512:
6
- metadata.gz: 1796bcb024853380c7a387f5f69d8b564ca78c4318fbf0a3c526546c5000fb5f676cc846a0541443c5d53e664f3b74d1970df4526d12b7f931209e9d78cdb684
7
- data.tar.gz: b77b0c1a24a806ac817d516173a6f68b9e7d63ca088bae6cc32de41c688df0c296a1eedf7e7bde81ce46faba76301b98fde0f1fd1a2ccc1842f9095fdbafc132
6
+ metadata.gz: 448a864a21894a44ffa3408763cbe0c92a7240da6612d2409dcbe494b00069dfc0138a3e9de254bbf965faef9e1e39e92eda203ef47d202b733b44381c32df7b
7
+ data.tar.gz: cdf0687b88e0a2692eecfcaa25f24ae3b25b0383f99356039cbf00b1e432899933a46f52ad45d0abe16c3f86d006401ba1fba91478f231bbfe19bc551bfd4386
@@ -7,11 +7,7 @@
7
7
 
8
8
  name: Ruby
9
9
 
10
- on:
11
- push:
12
- branches: [ master ]
13
- pull_request:
14
- branches: [ master ]
10
+ on: [push, pull_request, workflow_dispatch]
15
11
 
16
12
  jobs:
17
13
  test:
data/CHANGELOG.md CHANGED
@@ -1,4 +1,20 @@
1
- # unreleased
1
+ # 0.2.0
2
+
3
+ - BREAKING CHANGES: Remove or rename a bunch of APIs that aren't quite necessary
4
+ and leak too much implementation, requiring too much cognitive load for users.
5
+ - Remove config.use_transactional_data_loader
6
+ - Remove TestData.rollback
7
+ - Change TestData.load to TestData.uses_test_data and make it transaction-only
8
+ - Change TestData.truncate to TestData.uses_clean_slate and make it
9
+ transaction-only
10
+ - Change TestData.load_rails_fixtures to TestData.uses_rails_fixtures and make
11
+ it transaction-only
12
+ - Add TestData.insert_test_data_dump, which will blindly insert the test SQL
13
+ dump of test data without any transaction management
14
+ - [#2](https://github.com/testdouble/test_data/issues/2) - Work around
15
+ hard-coded environment names when initializing test_data environment secrets
16
+
17
+ # 0.1.0
2
18
 
3
19
  - New feature: `TestData.load_rails_fixtures` to override default fixtures
4
20
  behavior by loading it in a nested transaction after `TestData.truncate`
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- test_data (0.1.0)
4
+ test_data (0.2.0)
5
5
  railties (~> 6.0)
6
6
 
7
7
  GEM
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2022 Test Double, LLC
1
+ Copyright (c) 2021 Test Double, LLC
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # The `test_data` gem
2
2
 
3
+ **HEADS UP: 0.2.0 made a whole bunch of breaking changes to the public API and
4
+ we haven't finished rewriting the README yet. Please bear with us while we work
5
+ through it. 🙇**
6
+
3
7
  `test_data` does what it says on the tin: it provides a fast & reliable system
4
8
  for managing your Rails application's test data.
5
9
 
@@ -18,9 +22,9 @@ What it does:
18
22
  files, no precarious approximations of realism: **real data created by your
19
23
  app**
20
24
 
21
- * Exposes a simple API for loading your test data and cleaning up between
22
- tests. Common edge cases are handled seamlessly. Tests that need access to
23
- your data will see it and tests that don't, won't
25
+ * Exposes a simple API for ensuring that each of your tests will against
26
+ pristine data, whether the test depends on test_data, an empty database, or
27
+ Rails fixtures
24
28
 
25
29
  * Safeguards your tests from flaky failures and supercharges your build by
26
30
  providing a sophisticated transaction manager that isolates each test while
@@ -48,15 +52,12 @@ necessary diligence to achieve fast, isolated tests that scale with your
48
52
  application.
49
53
 
50
54
  1. [Getting Started Guide](#getting-started-guide)
51
- 1. [Install and initialize
52
- `test_data`](#step-1-install-and-initialize-test_data)
55
+ 1. [Install and initialize `test_data`](#step-1-install-and-initialize-test_data)
53
56
  2. [Create some test data](#step-2-create-some-test-data)
54
57
  3. [Dump your `test_data` database](#step-3-dump-your-test_data-database)
55
58
  4. [Load your data in your tests](#step-4-load-your-data-in-your-tests)
56
- 5. [Keeping your test data
57
- up-to-date](#step-5-keeping-your-test-data-up-to-date)
58
- 2. [Factory & Fixture Interoperability
59
- Guide](#factory--fixture-interoperability-guide)
59
+ 5. [Keeping your test data up-to-date](#step-5-keeping-your-test-data-up-to-date)
60
+ 2. [Factory & Fixture Interoperability Guide](#factory--fixture-interoperability-guide)
60
61
  * [Using `test_data` with `factory_bot`](#using-test_data-with-factory_bot)
61
62
  * [Using `test_data` with Rails fixtures](#using-test_data-with-rails-fixtures)
62
63
  3. [Rake Task Reference](#rake-task-reference)
@@ -70,15 +71,11 @@ application.
70
71
  * [test_data:drop_database](#test_datadrop_database)
71
72
  4. [API Reference](#api-reference)
72
73
  * [TestData.config](#testdataconfig)
73
- * [TestData.load](#testdataload)
74
- * [TestData.rollback](#testdatarollback)
75
- * [TestData.rollback(:before_data_load)](#rolling-back-to-before-test-data-was-loaded)
76
- * [TestData.rollback(:after_data_load)](#rolling-back-to-after-the-data-was-loaded)
77
- * [TestData.rollback(:after_data_truncate)](#rolling-back-to-after-test-data-was-truncated)
78
- * [TestData.rollback(:after_load_rails_fixtures)](#rolling-back-to-after-rails-fixtures-were-loaded)
79
- * [TestData.truncate](#testdatatruncate)
74
+ * [TestData.uses_test_data](#testdatauses_test_data)
75
+ * [TestData.uses_clean_slate](#testdatauses_clean_slate)
80
76
  * [TestData.prevent_rails_fixtures_from_loading_automatically!](#testdataprevent_rails_fixtures_from_loading_automatically)
81
- * [TestData.load_rails_fixtures](#testdataload_rails_fixtures)
77
+ * [TestData.uses_rails_fixtures(self)](#testdatauses_rails_fixtures)
78
+ * [TestData.insert_test_data_dump](#testdatainsert_test_data_dump)
82
79
  5. [Assumptions](#assumptions)
83
80
  6. [Fears, Uncertainties, and Doubts](#fears-uncertainties-and-doubts) (Q & A)
84
81
  7. [Code of Conduct](#code-of-conduct)
@@ -140,21 +137,29 @@ Created database 'yourappname_test_data'
140
137
  ------------
141
138
 
142
139
  (1 row)
140
+
141
+ Your test_data environment and database are ready for use! You can now run
142
+ your server (or any command) to create some test data like so:
143
+
144
+ $ RAILS_ENV=test_data bin/rails server
145
+
143
146
  ````
144
147
 
145
- The purpose of the `test_data` database is to provide a sandbox in which to
146
- generate test data by interacting with your app and then dumping the resulting
147
- state of the database so that your tests can load it later. Rather than try to
148
- imitate realistic data using factories and fixtures (a task which only grows
149
- more difficult as your models and their associations increase in complexity),
150
- your test data will always be realistic because your real application will have
151
- created it!
148
+ The purpose of the `test_data` database is to provide a sandbox in which you
149
+ will manually generate test data by playing aroundo with your app. Once you've
150
+ craeted enough data to drive tests of your application, `test_data` facilitates
151
+ dumping the resulting state of the `test_data` database so that your tests can
152
+ load it into the `test` database. Rather than try to imitate realistic data
153
+ using factories and fixtures (a task which only grows more difficult as your
154
+ models and their associations increase in complexity), your test data will
155
+ always be realistic because your real application will have created it!
152
156
 
153
157
  The database dumps are meant to be committed in git and versioned alongside your
154
158
  tests over the life of the application. Its schema & data are should be
155
159
  incrementally migrated over time, just like your production database. (As a
156
- happy side effect, this means your `test_data` database may help you identify
157
- hard-to-catch migration bugs early, before being deployed to production!)
160
+ happy side effect of running your migrations against your test data, this means
161
+ your `test_data` database may help you identify hard-to-catch migration bugs
162
+ early, before being deployed to production!)
158
163
 
159
164
  ### Step 2: Create some test data
160
165
 
@@ -220,9 +225,9 @@ This will dump three files into `test/support/test_data`:
220
225
  * Non-test data (`ar_internal_metadata` and `schema_migrations` by default) in
221
226
  `non_test_data.sql`
222
227
 
223
- These paths can be overridden with [TestData.config](#testdataconfig) method.
224
- Additional details can be found in the [test_data:dump](#test_datadump)
225
- Rake task reference.
228
+ You probably won't need to, but these paths can be overridden with
229
+ [TestData.config](#testdataconfig) method. Additional details can also be found
230
+ in the [test_data:dump](#test_datadump) Rake task reference.
226
231
 
227
232
  Once you've made your initial set of dumps, briefly inspect them and—if
228
233
  everything looks good—commit them. (And if the files are gigantic or full of
@@ -233,8 +238,8 @@ Does it feel weird to dump and commit SQL files? That's okay! It's [healthy to
233
238
  be skeptical](https://twitter.com/searls/status/860553435116187649?s=20)
234
239
  whenever you're asked to commit a generated file! Remember that the `test_data`
235
240
  environment exists only for creating your test data. Your tests will, in turn,
236
- load the SQL dump of your data into the familiar `test` database, and things
237
- will proceed just as if you'd been loading [Rails' built-in
241
+ load the SQL dump of your data into the `test` database, and things will proceed
242
+ just as if you'd been loading [Rails' built-in
238
243
  fixtures](https://guides.rubyonrails.org/testing.html#the-low-down-on-fixtures)
239
244
  from a set of YAML files—the major difference being that `test_data` databases
240
245
  are generated through realistic use, whereas fixtures are defined manually in
@@ -248,92 +253,79 @@ writing tests that rely on this test data.
248
253
  To accomplish this, you'll likely want to add hooks to run before & after each
249
254
  test—first to load your test data and then to rollback any changes made by the
250
255
  test in order to clear the air for the next test. The `test_data` gem
251
- accomplishes this with its [TestData.load](#testdataload) and
252
- [TestData.rollback](#testdatarollback) methods.
256
+ accomplishes this with its [TestData.uses_test_data](#testdatauses_test_data)
257
+ method.
253
258
 
254
259
  If you're using (Rails' default)
255
260
  [Minitest](https://github.com/seattlerb/minitest) and want to include your test
256
- data with every test, you can add these hooks to `ActiveSupport::TestCase`:
261
+ data with every test, you could load them in a `setup` hook in
262
+ `ActiveSupport::TestCase`:
257
263
 
258
264
  ```ruby
259
265
  class ActiveSupport::TestCase
260
266
  setup do
261
- TestData.load
262
- end
263
-
264
- teardown do
265
- TestData.rollback
267
+ TestData.uses_test_data
266
268
  end
267
269
  end
268
270
  ```
269
271
 
270
272
  If you use [RSpec](https://rspec.info), you can accomplish the same thing with
271
- global `before(:each)` and `after(:each)` hooks in your `rails_helper.rb` file:
273
+ global `before(:each)` hook in your `rails_helper.rb` file:
272
274
 
273
275
  ```ruby
274
276
  RSpec.configure do |config|
275
277
  config.before(:each) do
276
- TestData.load
277
- end
278
-
279
- config.after(:each) do
280
- TestData.rollback
278
+ TestData.uses_test_data
281
279
  end
282
280
  end
283
281
  ```
284
282
 
285
283
  That should be all you need to have access to your test data in each of your
286
284
  tests! Your tests will also benefit from the speed and data integrity that comes
287
- with wrapping each test in an always-rolled-back transaction. For more
288
- information on how all this works, see the [API reference](#api-reference). If
289
- your test suite is already using fixtures or factories and the above hooks just
290
- broke everything, check out our [interoperability
285
+ with covering each test's behavior in an always-rolled-back transaction. For
286
+ more information on how all this works, see the [API reference](#api-reference).
287
+ If your test suite is already using fixtures or factories and the above hooks
288
+ just broke everything, check out our [interoperability
291
289
  guide](#factory--fixture-interoperability-guide) for help.
292
290
 
293
291
  If you _don't_ want all of your Rails-aware tests to see this test data (suppose
294
- you have existing tests that use factories instead), you probably
295
- want to use [TestData.truncate](#testdatatruncate) to clear data generated by
296
- this gem out before they run. You might do that by defining two test types:
292
+ you have existing tests that use factories instead), you probably want to use
293
+ [TestData.uses_clean_slate](#testdatauses_clean_slate) to clear data generated
294
+ by this gem out before they run. One way to do that would be to define two test
295
+ types:
297
296
 
298
297
  ```ruby
299
298
  # Tests using data created by `test_data`
300
299
  class TestDataTestCase < ActiveSupport::TestCase
301
300
  setup do
302
- TestData.load
303
- end
304
-
305
- teardown do
306
- TestData.rollback
301
+ TestData.uses_test_data
307
302
  end
308
303
  end
309
304
 
310
- # Tests that don't need a shared data source
311
- class SomeModelTestCase < ActiveSupport::TestCase
305
+ # Tests that don't rely on test_data or Rails fixtures:
306
+ class CleanSlateTestCase < ActiveSupport::TestCase
312
307
  setup do
313
- TestData.truncate
314
- end
315
-
316
- def test_some_model_does_stuff
317
- some_model = SomeModel.create!
318
-
319
- result = some_model.does_stuff
320
-
321
- assert_equal :cool_stuff, result
322
- end
323
-
324
- teardown do
325
- TestData.rollback(:after_data_truncate)
308
+ TestData.uses_clean_slate
326
309
  end
327
310
  end
328
-
329
311
  ```
330
312
 
331
313
  ### Step 5: Keeping your test data up-to-date
332
314
 
333
- Because your app relies on its tests and your tests rely on their test data,
334
- your test data needs to be maintained for the entire life of your application.
335
- Fortunately, and because production databases need the same thing, we already
336
- have a fantastic tool for the job: [Rails
315
+ Your app relies on its tests and your tests rely on their test data. This
316
+ creates a bit of a paradox: creating & maintaining test data is _literally_ a
317
+ tertiary concern but simultaneously an inescapable responsibility that will live
318
+ with you for the life of your application. That's true whether you use this gem,
319
+ `factory_bot`, Rails fixtures, or persist your test data manually inside each
320
+ and every test.
321
+
322
+ But `test_data` stores your data as SQL, as opposed to Ruby or YAML. So
323
+ providing a straightforward way to maintain it as your application grows and
324
+ your schema evolves is a going concern of this gem.
325
+
326
+ Fortunately, because your `test_data` database needs to be maintained for the
327
+ entire life of your application and because production databases need the same
328
+ thing, we already have a fantastic tool for the job: [Rails
337
329
  migrations](https://guides.rubyonrails.org/active_record_migrations.html). If
338
330
  your migrations are resilient enough for your production data, they should also
339
331
  be able to keep your `test_data` database up-to-date.
@@ -343,7 +335,8 @@ necessitates the creation of more test data, you'll need to update your test
343
335
  data. Here's a rough outline to updating your `test_data` database:
344
336
 
345
337
  1. If your local `test_data` database is out-of-date with your latest SQL dump
346
- files, drop it with `rake test_data:drop_database`
338
+ files (i.e. if someone has updated the SQL dump and your local Postgres
339
+ database is out of date), drop it with `rake test_data:drop_database`
347
340
 
348
341
  2. Load your schema & data into the `test_data` database with `rake
349
342
  test_data:load`
@@ -402,20 +395,23 @@ This section will document some thoughts and strategies for introducing
402
395
 
403
396
  Depending on the assumptions your tests make about the state of the database
404
397
  before you've loaded any factories, it's possible that everything will "just
405
- work" after adding `TestData.load` in a before-each hook and `TestData.rollback`
406
- in an after-each hook (as shown in the [setup
407
- guide](#step-4-load-your-data-in-your-tests)). So by all means, try running your
408
- suite after following the initial setup guide and see if the suite just passes.
409
-
410
- If you find that your test suite is failing after adding `TestData.load` to your
411
- setup, don't panic! It probably means that you have test data and factory
412
- invocations that are, when combined, violating unique validations or database
413
- constraints. Depending on your situation (e.g. the size of your test suite, how
414
- well you understand the intentions of older tests) you might try to resolve
415
- these errors one-by-one, usually by updating the offending factories or
416
- editing your `test_data` database to ensure they steer clear of one another.
417
- This can be tedious, however, and can undermine the completeness of either data
418
- source in the absence of the other.
398
+ work" after adding `TestData.uses_test_data` in a before-each hook (as shown in
399
+ the [setup guide](#step-4-load-your-data-in-your-tests)). So by all means, try
400
+ running your suite after following the initial setup guide and see if the suite
401
+ just passes.
402
+
403
+ If you find that your test suite is failing after adding
404
+ `TestData.uses_test_data` to your setup, don't panic! It probably means that you
405
+ have test data and factory invocations that are, when combined, violating unique
406
+ validations or database constraints. Depending on your situation (e.g. the size
407
+ of your test suite, how well you understand the intentions of older tests) you
408
+ might try to resolve these errors one-by-oneusually by updating the offending
409
+ factories or editing your `test_data` database to ensure they steer clear of one
410
+ another. Care should be taken to preserve the conceptual encapsulation of each
411
+ test, however, as naively squashing errors can introduce coupling between your
412
+ factories and your `test_data` database that inadvertently tangles the two
413
+ together (where both test data sources become necessary to interact with the
414
+ system).
419
415
 
420
416
  If your tests are failing after introducing `test_data` and it's not desirable
421
417
  or feasible to work through the individual failures, you can accomplish a clean
@@ -625,7 +621,7 @@ Here's what you can do if you can't get your fixtures to play nicely with your
625
621
  available to these tests
626
622
 
627
623
  3. In tests that need fixtures, call
628
- [TestData.load_rails_fixtures](#testdataload_rails_fixtures)
624
+ [TestData.load_rails_fixtures(self)](#testdataload_rails_fixtures)
629
625
  in a before-each hook and
630
626
  [TestData.rollback(:after_load_rails_fixtures)](#rolling-back-to-after-rails-fixtures-were-loaded)
631
627
  in an after-each hook. This will (in an almost comic level of
@@ -641,7 +637,7 @@ test to get it passing:
641
637
  ```ruby
642
638
  class AnExistingFixtureUsingTest < ActiveSupport::Testcase
643
639
  def setup
644
- TestData.load_rails_fixtures
640
+ TestData.load_rails_fixtures(self)
645
641
  # pre-existing setup
646
642
  end
647
643
 
@@ -662,7 +658,8 @@ state is correct before loading your fixtures.]_
662
658
  #### Separating your `test_data` and fixture tests
663
659
 
664
660
  *This only applies if you had to use
665
- [TestData.load_rails_fixtures](#testdataload_rails_fixtures) as shown above.*
661
+ [TestData.load_rails_fixtures(self)](#testdataload_rails_fixtures) as shown
662
+ above.*
666
663
 
667
664
  Just [like with factories](#separating-your-test_data-and-factory-tests), you
668
665
  might benefit from a test helper to clearly declare whether a test uses fixtures
@@ -676,7 +673,7 @@ class ActiveSupport::TestCase
676
673
  fixtures :all
677
674
 
678
675
  setup do
679
- TestData.load_rails_fixtures
676
+ TestData.load_rails_fixtures(self)
680
677
  end
681
678
 
682
679
  teardown do
@@ -1042,11 +1039,11 @@ truncated—effectively re-cleaning the slate for the next test.
1042
1039
 
1043
1040
  #### Rolling back to after Rails fixtures were loaded
1044
1041
 
1045
- If you're using [TestData.load_rails_fixtures](#testdataload_rails_fixtures) in
1046
- your test's before-each hook, you'll probably want to teardown that test by
1047
- rolling back with `TestData.rollback(:after_load_rails_fixtures)` in an
1048
- after-each hook, which will rewind to the point just after your Rails fixtures
1049
- were loaded.
1042
+ If you're using
1043
+ [TestData.load_rails_fixtures(self)](#testdataload_rails_fixtures) in your
1044
+ test's before-each hook, you'll probably want to teardown that test by rolling
1045
+ back with `TestData.rollback(:after_load_rails_fixtures)` in an after-each hook,
1046
+ which will rewind to the point just after your Rails fixtures were loaded.
1050
1047
 
1051
1048
  ### TestData.truncate
1052
1049
 
@@ -1101,7 +1098,10 @@ As described in this README's [fixture interop
1101
1098
  guide](#getting-your-fixtures-dependent-tests-passing-with-test_data),
1102
1099
  `TestData.load_rails_fixtures` will load your app's [Rails
1103
1100
  fixtures](https://guides.rubyonrails.org/testing.html#the-low-down-on-fixtures)
1104
- into an effectively empty test database inside a nested transaction.
1101
+ into an effectively empty test database inside a nested transaction. Because the
1102
+ feature uses Rails built-in fixtures-loading code as well as its caching
1103
+ mechanism, the method must be passed an instance of the running test class (in
1104
+ a Minitest `setup` hook, that means `TestData.load_rails_fixtures(self)`)
1105
1105
 
1106
1106
  Using this feature requires that you've:
1107
1107
 
data/example/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- test_data (0.0.2)
4
+ test_data (0.2.0)
5
5
  railties (~> 6.0)
6
6
 
7
7
  GEM
@@ -1,2 +1 @@
1
- F/lkjSeOZwy+4IAYNV/+5sOwn9XOGjyNNvDkNyrpRG0kqoP8jmI4GE8mb73fdRIVoI9H7zefa3GxQ7R+udxqKWMLwAtSgTt+YGf5Eng0IzRBPp7hY2gIxFO0b84/+eG4Q6rD5xsg0kogzK3Ab4jj7f8Ci8vzFclSwqyUwP6TBCnaZJYsLMcNmF3tKBnWrJNKcQJ6Rj6/J2OH/nNi5x+KbsIgbARCJsZEK8PjD+cx8Qs9Cvk99Pj3VljLmjYA0L3jx1uCKahr0tzkkPkujBCKci05QHF/+vq0fcFduxc5wwlf5qMf7wGayz8i1YONyM9yORMrcnvSz/6AKC25np24+nmvZNsuVqtyoA4LRL+k3RBCMKo867FkwJmmGkhZSAFplFdQ2C0qJ+Gzem6UD6Lr70klDaUq1hITDqIc--nPRVkeqxjYlJDoKQ--Iu4hCDiJSpYuKL56Z/CUjA==
2
-
1
+ 5AstMrUHKXO5ed+i/hI/GnVm5IB525qXJOqPHvqfqhJSxEJSyfwKfQURigix3HsTcOwcPFIU6vPSC20bi5H8CQ7SHnYdHJuGB2T3WC9iiNiSBz49HaZoYX8ucHYoMMBbC+0u/6diYLW8ZTKR2Ab7bn4r1lkGzQjJe5clic5wNto7btjAbStXyAOHZCStXfnOFgQQhVjZno3iS7c279jaVYkYpZ12P5LbMxcJO4ipWfFexCzysIQu/WSPfmNMcvrIPijmPBvkVMJuhhDzd0yk1ysJu8jJMa8FJKx9aVd7Bes/k8Nywd04GDY6eSxyH6gkoG+BeQeqW3ig1XsuOWvx39qE9EQAcsgT13uxGc8M4wBKqIdSoibPl/79kTB843rnGlL8X/pKipJYczYJxazLSojwcQSto1UeIqQFWaDPQhz0--C7YAj7j4YQdWGiMG--JFTyHZbGKXiCdfZoBmF3xw==
@@ -32,7 +32,7 @@ rescue ActiveRecord::PendingMigrationError => e
32
32
  end
33
33
  RSpec.configure do |config|
34
34
  # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
35
- config.fixture_path = "#{::Rails.root}/spec/fixtures"
35
+ config.fixture_path = "#{::Rails.root}/test/fixtures"
36
36
 
37
37
  # If you're not using ActiveRecord, or you'd prefer not to run each of your
38
38
  # examples within a transaction, remove the following line or assign false