Rename Entropy::Configuration to just Entropy
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
require "test_helper"
|
||||
|
||||
class Account::EntropiesControllerTest < ActionDispatch::IntegrationTest
|
||||
setup do
|
||||
sign_in_as :kevin
|
||||
end
|
||||
|
||||
test "update" do
|
||||
put account_entropy_path, params: { entropy: { auto_postpone_period: 1.day } }
|
||||
|
||||
assert_equal 1.day, entropies("37s_account").auto_postpone_period
|
||||
|
||||
assert_redirected_to account_settings_path
|
||||
end
|
||||
end
|
||||
@@ -1,15 +0,0 @@
|
||||
require "test_helper"
|
||||
|
||||
class Account::EntropyConfigurationsControllerTest < ActionDispatch::IntegrationTest
|
||||
setup do
|
||||
sign_in_as :kevin
|
||||
end
|
||||
|
||||
test "update" do
|
||||
put account_entropy_configuration_path, params: { entropy_configuration: { auto_postpone_period: 1.day } }
|
||||
|
||||
assert_equal 1.day, entropy_configurations("37s_account").auto_postpone_period
|
||||
|
||||
assert_redirected_to account_settings_path
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user