rspec-rails23 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rspec/rails23/controllers.rb +4 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
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
|
-
|
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
|
|