Sha256: 54d118cb6783d82a123e7bb960825e044ff606a450e1aa48180d7aa8bfa74731
Contents?: true
Size: 680 Bytes
Versions: 2
Compression:
Stored size: 680 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'rspec' require 'heredoc_unindent' require 'genomer-plugin-summary' # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each do |f| require File.expand_path(f) end RSpec.configure do |config| config.mock_with :rr def sequence(seq, source=nil) s = mock! stub(s).sequence{ seq } stub(s).source{ source } if source stub(s).entry_type{ :sequence } s end def unresolved(seq) s = mock! stub(s).sequence{ seq } stub(s).entry_type{ :unresolved } s end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
genomer-plugin-summary-0.0.3 | spec/spec_helper.rb |
genomer-plugin-summary-0.0.2 | spec/spec_helper.rb |