lazy-head-gen 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lazy-head-gen.gemspec +1 -1
- data/lib/lazy-head-gen/templates/admin_controller_test.rb.tt +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/lazy-head-gen.gemspec
CHANGED
@@ -87,7 +87,7 @@ describe "Admin::<%= @controller if @controller %>Controller" do
|
|
87
87
|
describe "when logged in" do
|
88
88
|
|
89
89
|
before do
|
90
|
-
@account = Factory.
|
90
|
+
@account = Factory.make_admin
|
91
91
|
login_as_admin(@account)
|
92
92
|
end
|
93
93
|
|
@@ -153,7 +153,7 @@ describe "Admin::<%= @controller if @controller %>Controller" do
|
|
153
153
|
@<%= @singular %>_count = <%= @model %>.count
|
154
154
|
@<%= @singular %>_hash = {}
|
155
155
|
|
156
|
-
key_and_value = get_key_and_value(@singular)
|
156
|
+
key_and_value = get_key_and_value(<%= @singular %>)
|
157
157
|
if key_and_value[0] and key_and_value[1]
|
158
158
|
@key = key_and_value[0]
|
159
159
|
@value = key_and_value[1]
|
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: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Stuart Chinery
|