lazy-head-gen 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -0
- data/VERSION +1 -1
- data/lazy-head-gen.gemspec +1 -1
- data/lib/lazy-head-gen.rb +0 -16
- data/lib/lazy-head-gen/templates/admin_controller_test/admin_controller_test.rb.tt +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -145,6 +145,7 @@ The scaffold and admin_controller_test generators are reliant on you using a blu
|
|
145
145
|
|
146
146
|
* Finish README - Built in assertions and test helpers
|
147
147
|
* Add form output to the scaffold generator
|
148
|
+
* Add documentation for testing gem dependencies
|
148
149
|
|
149
150
|
## Contributing to lazy-head-gen
|
150
151
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.4
|
data/lazy-head-gen.gemspec
CHANGED
data/lib/lazy-head-gen.rb
CHANGED
@@ -60,20 +60,4 @@ module LazyHeadGen
|
|
60
60
|
def ok?
|
61
61
|
last_response.ok?
|
62
62
|
end
|
63
|
-
|
64
|
-
# A factory which we can use to build objects which are a bit more complex or
|
65
|
-
# which require special setup which can't be done by Machinist without a bit of
|
66
|
-
# help.
|
67
|
-
#
|
68
|
-
module Factory
|
69
|
-
class << self
|
70
|
-
|
71
|
-
def make_admin
|
72
|
-
account = Account.make!
|
73
|
-
account.save!
|
74
|
-
account
|
75
|
-
end
|
76
|
-
|
77
|
-
end
|
78
|
-
end
|
79
63
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lazy-head-gen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 4
|
10
|
+
version: 0.3.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Stuart Chinery
|