mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
13 lines
296 B
Ruby
13 lines
296 B
Ruby
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
|