mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
parent
a8dd176cf6
commit
3ef38768a5
3 changed files with 16 additions and 13 deletions
|
@ -1,13 +0,0 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Nameserver do
|
||||
describe '::hostnames', db: false do
|
||||
before :example do
|
||||
expect(described_class).to receive(:pluck).with(:hostname).and_return('hostnames')
|
||||
end
|
||||
|
||||
it 'returns names' do
|
||||
expect(described_class.hostnames).to eq('hostnames')
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue