mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
* Add step method to currency * Change amount placeholder and step, when currency select change * Lint * Add test with auth * Extract request to specific service
12 lines
266 B
Ruby
12 lines
266 B
Ruby
require "test_helper"
|
|
|
|
class CurrenciesControllerTest < ActionDispatch::IntegrationTest
|
|
setup do
|
|
sign_in @user = users(:family_admin)
|
|
end
|
|
|
|
test "should show currency" do
|
|
get currency_url(id: "EUR", format: :json)
|
|
assert_response :success
|
|
end
|
|
end
|