scaffy 0.5.0 → 0.5.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.
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Scaffy
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 0
9
- version: 0.5.0
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-25 00:00:00 +02:00
17
+ date: 2010-10-26 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies: []
20
20