mirror of
https://github.com/internetee/registry.git
synced 2025-06-13 16:14:47 +02:00
Merge pull request #858 from internetee/vat-rate-missing-ci-test
Fix rspec misconfiguration causing test failures
This commit is contained in:
commit
3f07013dfd
2 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,7 @@ FactoryBot.define do
|
||||||
state 'test'
|
state 'test'
|
||||||
zip 'test'
|
zip 'test'
|
||||||
email 'test@test.com'
|
email 'test@test.com'
|
||||||
country_code 'EE'
|
country_code 'US'
|
||||||
accounting_customer_code 'test'
|
accounting_customer_code 'test'
|
||||||
|
|
||||||
factory :registrar_with_unlimited_balance do
|
factory :registrar_with_unlimited_balance do
|
||||||
|
|
|
@ -20,6 +20,7 @@ require 'support/paper_trail'
|
||||||
require 'support/settings'
|
require 'support/settings'
|
||||||
|
|
||||||
ActiveRecord::Migration.maintain_test_schema!
|
ActiveRecord::Migration.maintain_test_schema!
|
||||||
|
Setting.registry_country_code = 'US'
|
||||||
|
|
||||||
RSpec.configure do |config|
|
RSpec.configure do |config|
|
||||||
config.include ActionView::TestCase::Behavior, type: :presenter
|
config.include ActionView::TestCase::Behavior, type: :presenter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue