mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 10:19:45 +02:00
Use comma as a default fraction separator
This commit is contained in:
parent
ebc2a6af72
commit
e375fcfabc
3 changed files with 11 additions and 2 deletions
|
@ -6,6 +6,6 @@ RSpec.shared_examples 'money form field' do
|
|||
|
||||
it 'has money pattern' do
|
||||
render
|
||||
expect(field[:pattern]).to eq('^[0-9.]+$')
|
||||
expect(field[:pattern]).to eq('^[0-9.,]+$')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue