Sha256: a0166cbc48e27d52a41193d66e720609342ce736e83840f8b9d140159faeb39a
Contents?: true
Size: 852 Bytes
Versions: 13
Compression:
Stored size: 852 Bytes
Contents
module Relaton class TestProcessor < Relaton::Processor def initialize; end end end RSpec.describe Relaton::Processor do it "initialize should be implemented" do expect { Relaton::Processor.new }.to raise_error StandardError end context "instance of processor" do subject { Relaton::TestProcessor.new } it "get method should be implemented" do expect { subject.get "code", nil, {} }.to raise_error StandardError end it "from_xml method should be implemented" do expect { subject.from_xml "" }.to raise_error StandardError end it "hash_to_bib method should be implemented" do expect { subject.hash_to_bib({}) }.to raise_error StandardError end it "grammar_hash method should be implemented" do expect { subject.grammar_hash }.to raise_error StandardError end end end
Version data entries
13 entries across 13 versions & 1 rubygems