mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 10:38:50 +01:00
Allow translation content styling through scrubber
This commit is contained in:
@@ -27,9 +27,9 @@ class Admin::DashboardControllerTest < ActionDispatch::IntegrationTest
|
||||
|
||||
test "should fail incorrect problem count" do
|
||||
login_admin
|
||||
post admin_dashboard_update_problem_count_url(problem_count: 2)
|
||||
post admin_dashboard_update_problem_count_url(problem_count: 3)
|
||||
assert_redirected_to admin_dashboard_index_url
|
||||
assert_equal 3, Problem.count
|
||||
assert_equal 4, Problem.count
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user