mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-23 07:09:39 +02:00
Shared money input should respond to change in currency (#654)
* Add step method to currency * Change amount placeholder and step, when currency select change * Lint * Add test with auth * Extract request to specific service
This commit is contained in:
parent
c46662c99f
commit
5be1ced19e
10 changed files with 63 additions and 6 deletions
12
test/controllers/currencies_controller_test.rb
Normal file
12
test/controllers/currencies_controller_test.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue