trestle_generator 1.1.7 → 1.1.7.1
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/templates/functional_test.rb +2 -2
- metadata +2 -2
@@ -79,7 +79,7 @@ class <%= controller_class_name %>ControllerTest < Test::Unit::TestCase
|
|
79
79
|
get 'list<%= suffix %>'
|
80
80
|
|
81
81
|
assert_response :success
|
82
|
-
assert_template '
|
82
|
+
assert_template 'list<%= suffix %>'
|
83
83
|
|
84
84
|
assert_not_nil assigns(:<%= plural_name %>)
|
85
85
|
end
|
@@ -108,7 +108,7 @@ class <%= controller_class_name %>ControllerTest < Test::Unit::TestCase
|
|
108
108
|
get 'show<%= suffix %>', :id => 1
|
109
109
|
|
110
110
|
assert_response :success
|
111
|
-
assert_template '
|
111
|
+
assert_template 'show<%= suffix %>'
|
112
112
|
|
113
113
|
assert_not_nil assigns(:<%= singular_name %>)
|
114
114
|
assert assigns(:<%= singular_name %>).valid?
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: trestle_generator
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.1.7
|
7
|
-
date: 2006-07-
|
6
|
+
version: 1.1.7.1
|
7
|
+
date: 2006-07-19 00:00:00 -05:00
|
8
8
|
summary: "[Rails] A drop-in replacement for the scaffold generator that produces production-ready controllers that are safe from state-changing HTTP GET requests and that have streamlined URLs."
|
9
9
|
require_paths:
|
10
10
|
- templates
|