mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
parent
5af4c585d4
commit
5e1c43f7cc
5 changed files with 7 additions and 7 deletions
|
@ -23,7 +23,7 @@ RSpec.describe Repp::ContactV1, db: true do
|
|||
|
||||
context 'when address processing is enabled' do
|
||||
before do
|
||||
expect(Contact).to receive(:address_processing).and_return(true)
|
||||
expect(Contact).to receive(:address_processing?).and_return(true)
|
||||
get '/repp/v1/contacts', { limit: 1, details: true }, { 'HTTP_AUTHORIZATION' => http_auth_key }
|
||||
end
|
||||
|
||||
|
@ -34,7 +34,7 @@ RSpec.describe Repp::ContactV1, db: true do
|
|||
|
||||
context 'when address processing is disabled' do
|
||||
before do
|
||||
expect(Contact).to receive(:address_processing).and_return(false)
|
||||
expect(Contact).to receive(:address_processing?).and_return(false)
|
||||
get '/repp/v1/contacts', { limit: 1, details: true }, { 'HTTP_AUTHORIZATION' => http_auth_key }
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue