Sha256: 00cf2c4d5a5c09cfaccd1fc1f5569f600f69534d6f83a5e6e4e2ee51727a2be3
Contents?: true
Size: 720 Bytes
Versions: 6
Compression:
Stored size: 720 Bytes
Contents
require 'efo_nelfo' require 'turn/autorun' require 'minitest/spec' require 'minitest/pride' require 'awesome_print' Turn.config do |c| c.format = :progress c.natural = true c.loadpath = %w(lib spec) end # 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
6 entries across 6 versions & 1 rubygems