rspec-rails23 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -37,9 +37,11 @@ module Rspec
37
37
  def record_render(opts)
38
38
  @_rendered ||= {}
39
39
  (@_rendered[:template] ||= opts[:file]) if opts[:file]
40
- (@_rendered[:partials][opts[:partial]] += 1) if opts[:partial]
40
+ if opts[:partial]
41
+ @_rendered[:partials][opts[:partial]] ||= 0
42
+ @_rendered[:partials][opts[:partial]] += 1
43
+ end
41
44
  end
42
-
43
45
  end
44
46
 
45
47
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Rob Sanheim