mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +02:00
Refactor zones
- Rename "zonefile_setting" to "zone" - Remove version #475
This commit is contained in:
parent
f1d7e53734
commit
bff7437277
51 changed files with 425 additions and 389 deletions
13
spec/models/dns/zone_spec.rb
Normal file
13
spec/models/dns/zone_spec.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe DNS::Zone do
|
||||
describe '::origins' do
|
||||
before :example do
|
||||
expect(described_class).to receive(:pluck).with(:origin).and_return('origins')
|
||||
end
|
||||
|
||||
it 'returns origins' do
|
||||
expect(described_class.origins).to eq('origins')
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue