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 CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "lazy-head-gen"
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Stuart Chinery"]
@@ -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.make!_admin
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: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stuart Chinery