Sha256: 7aa7af79e78a4fa219c2b6b8a8a97d283448e8eebb8eba42edcd16cb192f3823
Contents?: true
Size: 624 Bytes
Versions: 5
Compression:
Stored size: 624 Bytes
Contents
require 'spec_helper' describe GenomerPluginSummary do example = described_class::Example = Class.new(described_class) before do mock(described_class).require 'genomer-plugin-summary/example' end describe "#fetch" do it "should return the required view plugin class" do described_class.fetch('example').should == example end end describe "#run" do it "should initialize and run the required summary plugin" do mock.proxy(example).new([:arg],:flags) do |instance| mock(instance).run end described_class.new(['example',:arg],:flags).run end end end
Version data entries
5 entries across 5 versions & 1 rubygems