utensils 1.6.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/utensils/factory_bot.rb +3 -0
- data/lib/utensils/version.rb +1 -1
- metadata +4 -4
- data/lib/utensils/factory_girl.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f38d2b941dfb45965ae497c6a29991b03e672ab
|
4
|
+
data.tar.gz: 1efb9f3ca50d29927aa7dd83141defefa1309e6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b2d7635b9ca4bf6099697c9e3db94268ba15882b07ef89f2158d15e7528d5f89c0fbf6e1ca802314efcdf5ca22d07b2e5095ff79c7645a50a65b986513c8fbb
|
7
|
+
data.tar.gz: 79758dc4055437475fd47159de1aea206eb445ed85e102939028662283f979e29cd0258872620de714d3496cad0158fdc8c8c8297843775ac0f8e776c2b37dd4
|
data/README.md
CHANGED
@@ -20,7 +20,7 @@ require 'utensils/capybara_screenshot'
|
|
20
20
|
require 'utensils/custom_matchers'
|
21
21
|
require 'utensils/database_cleaner'
|
22
22
|
require 'utensils/email'
|
23
|
-
require 'utensils/
|
23
|
+
require 'utensils/factory_bot'
|
24
24
|
require 'utensils/omniauth'
|
25
25
|
require 'utensils/timecop'
|
26
26
|
require 'utensils/upload_macros'
|
@@ -72,13 +72,13 @@ Sets up rspec to use database_cleaner instead of transactional fixtures
|
|
72
72
|
Clears `ActionMailer::Base.deliveries` before each spec and
|
73
73
|
includes https://github.com/bmabey/email-spec helpers.
|
74
74
|
|
75
|
-
###
|
75
|
+
### factory_bot
|
76
76
|
|
77
|
-
Use shorthand for
|
77
|
+
Use shorthand for FactoryBot, ie:
|
78
78
|
|
79
79
|
```ruby
|
80
80
|
# instead of:
|
81
|
-
|
81
|
+
FactoryBot.create(:post)
|
82
82
|
|
83
83
|
# use:
|
84
84
|
create(:post)
|
data/lib/utensils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utensils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Balvig
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Rspec stuff we use over and over again
|
14
14
|
email:
|
@@ -29,7 +29,7 @@ files:
|
|
29
29
|
- lib/utensils/custom_matchers.rb
|
30
30
|
- lib/utensils/database_cleaner.rb
|
31
31
|
- lib/utensils/email.rb
|
32
|
-
- lib/utensils/
|
32
|
+
- lib/utensils/factory_bot.rb
|
33
33
|
- lib/utensils/omniauth.rb
|
34
34
|
- lib/utensils/timecop.rb
|
35
35
|
- lib/utensils/upload_macros.rb
|
@@ -55,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
55
|
version: '0'
|
56
56
|
requirements: []
|
57
57
|
rubyforge_project:
|
58
|
-
rubygems_version: 2.
|
58
|
+
rubygems_version: 2.5.2
|
59
59
|
signing_key:
|
60
60
|
specification_version: 4
|
61
61
|
summary: Rspec stuff we use over and over again
|