mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +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
|
@ -1,17 +0,0 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe ZonefileSetting, db: false do
|
||||
it 'has versions' do
|
||||
expect(described_class.new.versions).to eq([])
|
||||
end
|
||||
|
||||
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