scaffy 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ class <%= controller_name %>ControllerTest < ActionController::TestCase
|
|
21
21
|
end
|
22
22
|
|
23
23
|
should "create successfully" do
|
24
|
-
post :create, Factory.attributes_for(:<%= object_singular %>)
|
24
|
+
post :create, :<%= object_singular %> => Factory.attributes_for(:<%= object_singular %>)
|
25
25
|
assert_response :redirect, @response.body
|
26
26
|
assert_redirected_to <%= index_url %>
|
27
27
|
end
|
data/lib/scaffy/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 5
|
8
|
-
-
|
9
|
-
version: 0.5.
|
8
|
+
- 1
|
9
|
+
version: 0.5.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Alastair Brunton
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-10-
|
17
|
+
date: 2010-10-26 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|