minitest-utils 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 267ece23ae1afe6656a53cda6f1e6189117783adbc00f03895ef9bf980e3c3e6
4
- data.tar.gz: d3f83f775ef8e41fe37e741fed9345dbbb5293296df3f53ee1dae86dda4f2afe
3
+ metadata.gz: a99a19ba55c65932adf23dbac70bb1c4dd9c5d6ac2873ac68ee4a16587a33a7b
4
+ data.tar.gz: d8c351c71b8322a6aad1402495e74f5820a613f32982b9830f3d79fa398af51f
5
5
  SHA512:
6
- metadata.gz: '056369533babe9e76f55ac7d44a3ee2cadc113c45a8ce85f014430de3709283b536123ffff49593f281c5dbfb208e852fb31939f92c4f1cecefd510b72c83895'
7
- data.tar.gz: 62d7ed04fd0496d7afa1d0c05de60efc0629c840c19d7606cd5a029e8e25a032f44566b359bb0d3c7842060098b090ea177c03cb37ba896ffcd32a25f4f1e152
6
+ metadata.gz: a3dc2f9ba2a9fab1d7c631210d02a43f521ba6634d9d4cdc53f6e4f24ff9754cef17379eb7b6e9ca77627d249bf2b02436a32319a9f7086c4690bf427d5f78fd
7
+ data.tar.gz: e6b70cdd8e30e1cf2019e3c439c0eaf258ec16578e27f1053bae3086ed3a0d7cba8d661aa7a453508cc406415703632cc463b7f72d832aedcc4ba2faa5e035a4
@@ -34,6 +34,10 @@ module Minitest
34
34
  require "minitest/utils/setup/factory_girl"
35
35
  end
36
36
 
37
+ load_lib.call "factory_bot" do
38
+ require "minitest/utils/setup/factory_bot"
39
+ end
40
+
37
41
  require "minitest/utils/railtie" if defined?(Rails)
38
42
  end
39
43
  end
@@ -0,0 +1,5 @@
1
+ module Minitest
2
+ class Test
3
+ include FactoryBot::Syntax::Methods
4
+ end
5
+ end
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Utils
3
- VERSION = "0.4.3".freeze
3
+ VERSION = "0.4.4".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
@@ -91,6 +91,7 @@ files:
91
91
  - lib/minitest/utils/railtie.rb
92
92
  - lib/minitest/utils/reporter.rb
93
93
  - lib/minitest/utils/setup/database_cleaner.rb
94
+ - lib/minitest/utils/setup/factory_bot.rb
94
95
  - lib/minitest/utils/setup/factory_girl.rb
95
96
  - lib/minitest/utils/setup/webmock.rb
96
97
  - lib/minitest/utils/test_notifier_reporter.rb