Sha256: 5e52f886c275dfd3c917e618fc0b1785c8e270e91840aa40200fdea8e29f0590
Contents?: true
Size: 773 Bytes
Versions: 4
Compression:
Stored size: 773 Bytes
Contents
require 'test_helper' module Workarea module Admin module Listrak class ConfigurationIntegrationTest < Workarea::IntegrationTest include Admin::IntegrationTest def test_update create_listrak_configuration patch admin.listrak_configuration_path, params: { default_list_id: 1234 } assert_equal t('workarea.admin.listrak_configuration.edit.flash_messages.updated'), flash[:success] assert_redirected_to admin.edit_listrak_configuration_path end def test_update_with_invalid_params create_listrak_configuration patch admin.listrak_configuration_path, params: { default_list_id: nil } assert_equal "422", response.code end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems