Sha256: 96a40a0a172055c2784ea3c3802638fb41282c543e6324603ba08d83978c808f
Contents?: true
Size: 776 Bytes
Versions: 1
Compression:
Stored size: 776 Bytes
Contents
require 'simplecov' SimpleCov.start require 'efo_nelfo' require 'minitest/autorun' require 'minitest/spec' require 'minitest/reporters' require 'awesome_print' Minitest::Reporters.use!( Minitest::Reporters::SpecReporter.new, ENV, Minitest.backtrace_filter ) # helper method that returns full path to csv files def csv(filename) File.expand_path("../samples/#{filename}", __FILE__) end # Add 'its' to minitest - copied from https://github.com/agileanimal/its-minitest (gem doesn't work) class MiniTest::Spec def self.its attribute, &block describe "verify subject.#{attribute} for" do let(:inner_subject) { subject.send(attribute) } it "verify subject.#{attribute} for" do inner_subject.instance_eval(&block) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
efo_nelfo-2.0.0 | spec/spec_helper.rb |