Sha256: cc40e30c42468cf944ac92043c2a75653d3ad606aa85b528c1992a36dcd7684e

Contents?: true

Size: 429 Bytes

Versions: 7

Compression:

Stored size: 429 Bytes

Contents

require 'spec_helper'

describe Hydra::Derivatives::Processors::ShellBasedProcessor do
  before do
    class TestProcessor
      include Hydra::Derivatives::Processors::ShellBasedProcessor
    end
  end

  after { Object.send(:remove_const, :TestProcessor) }

  let (:processor) { TestProcessor.new }

  describe "options_for" do
    it "returns a hash" do
      expect(processor.options_for("a")).to be_a Hash
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hydra-derivatives-3.1.3 spec/processors/shell_based_processor_spec.rb
hydra-derivatives-3.1.2 spec/processors/shell_based_processor_spec.rb
hydra-derivatives-3.1.1 spec/processors/shell_based_processor_spec.rb
hydra-derivatives-3.1.0 spec/processors/shell_based_processor_spec.rb
hydra-derivatives-3.0.2 spec/processors/shell_based_processor_spec.rb
hydra-derivatives-3.0.1 spec/processors/shell_based_processor_spec.rb
hydra-derivatives-3.0.0 spec/processors/shell_based_processor_spec.rb