mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-03-12 05:05:16 +09:00
15 lines
323 B
Ruby
15 lines
323 B
Ruby
require "test_helper"
|
|
|
|
class Accounts::Bots::KeysControllerTest < ActionDispatch::IntegrationTest
|
|
setup do
|
|
sign_in :david
|
|
end
|
|
|
|
test "update" do
|
|
assert_changes -> { users(:bender).reload.bot_token } do
|
|
put account_bot_key_url(users(:bender))
|
|
assert_redirected_to account_bots_url
|
|
end
|
|
end
|
|
end
|