Skip to content

Commit 8fe1dd1

Browse files
committed
fixed nested form spec
1 parent 975b257 commit 8fe1dd1

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## v2.1.0 Release - 2021-06-29
4+
5+
### Improvements
6+
7+
- Added nested form support
8+
- Added textarea component #6
9+
10+
### Bugfixes
11+
12+
- Enable disabled for select and switch #16
13+
- use step, min, max option for all input type, enabling float number input #15
14+
15+
316
## v2.0.1 Release - 2021-04-12
417

518
### Bugfixes

spec/test/form/nested_form_support_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
before :all do
88
Rails.application.routes.append do
99
scope "nested_form_support_spec" do
10-
post '/input_success_form_test', to: 'form_test#success_submit', as: 'input_success_form_test'
11-
post '/input_failure_form_test', to: 'form_test#failure_submit', as: 'input_failure_form_test'
10+
post '/input_success_form_test', to: 'form_test#success_submit', as: 'nested_form_support_spec_input_success_form_test'
11+
post '/input_failure_form_test', to: 'form_test#failure_submit', as: 'nested_form_support_spec_input_failure_form_test'
1212
end
1313
end
1414
Rails.application.reload_routes!
@@ -19,7 +19,7 @@
1919
end
2020

2121
it 'properly renders all input components with dynamically adjusted IDs' do
22-
form_config = get_form_config(path: input_success_form_test_path)
22+
form_config = get_form_config(path: nested_form_support_spec_input_success_form_test_path)
2323

2424
ExamplePage.define_method(:order_item_form) do |order_item = OrderItem.new|
2525
form_fields_for order_item, key: :order_items_attributes do

0 commit comments

Comments
 (0)