Commit c8a89beb authored by Lin Jen-Shin's avatar Lin Jen-Shin

Fix test

parent f28f2280
......@@ -62,7 +62,7 @@ describe 'Dropdown weight', :js do
click_weight(1)
expect(page).to have_css(js_dropdown_weight, visible: false)
expect_tokens([{ name: 'weight', value: '1' }])
expect_tokens([{ name: 'Weight', value: '1' }])
expect_filtered_search_input_empty
end
......@@ -70,7 +70,7 @@ describe 'Dropdown weight', :js do
click_weight(2)
expect(page).to have_css(js_dropdown_weight, visible: false)
expect_tokens([{ name: 'weight', value: '2' }])
expect_tokens([{ name: 'Weight', value: '2' }])
expect_filtered_search_input_empty
end
......@@ -78,7 +78,7 @@ describe 'Dropdown weight', :js do
click_weight(3)
expect(page).to have_css(js_dropdown_weight, visible: false)
expect_tokens([{ name: 'weight', value: '3' }])
expect_tokens([{ name: 'Weight', value: '3' }])
expect_filtered_search_input_empty
end
......@@ -86,7 +86,7 @@ describe 'Dropdown weight', :js do
click_static_weight('No Weight')
expect(page).to have_css(js_dropdown_weight, visible: false)
expect_tokens([{ name: 'weight', value: 'none' }])
expect_tokens([{ name: 'Weight', value: 'none' }])
expect_filtered_search_input_empty
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment