Sha256: 4c51cbfcc7ac632543b4593852f0e61cfd8bd867dafcfb2b091fd516a966a3ee
Contents?: true
Size: 723 Bytes
Versions: 1
Compression:
Stored size: 723 Bytes
Contents
lib_path = File.expand_path(File.dirname(__FILE__) + "/../lib") $LOAD_PATH.unshift lib_path unless $LOAD_PATH.include?(lib_path) require 'micronaut' require File.expand_path(File.dirname(__FILE__) + "/resources/example_classes") module Micronaut module Matchers def fail raise_error(::Micronaut::Expectations::ExpectationNotMetError) end def fail_with(message) raise_error(::Micronaut::Expectations::ExpectationNotMetError, message) end end end def remove_last_describe_from_world Micronaut::World.behaviour_groups.pop end class DummyFormatter < Micronaut::Formatters::BaseTextFormatter; end def dummy_reporter DummyFormatter.new({}, StringIO.new) end Micronaut::Runner.autorun
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spicycode-micronaut-0.0.5 | examples/example_helper.rb |