mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 15:05:26 +08:00
15 lines
602 B
Ruby
15 lines
602 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
describe ProtocolImporters::ProtocolNormalizer do
|
|
describe '.load_all_protocols' do
|
|
it { expect { subject.load_all_protocols }.to raise_error(NotImplementedError) }
|
|
it { expect { subject.load_all_protocols(_params: 'some-params') }.to raise_error(NotImplementedError) }
|
|
end
|
|
|
|
describe '.load_protocol' do
|
|
it { expect { subject.load_protocol(_id: 'random-id') }.to raise_error(NotImplementedError) }
|
|
it { expect { subject.load_protocol(_id: 'random-id', _params: 'someparams') }.to raise_error(NotImplementedError) }
|
|
end
|
|
end
|