Sha256: a2423c661025fde6cf24880a65af71a260644d3cee33588dcc491e3f21c5db74
Contents?: true
Size: 488 Bytes
Versions: 4
Compression:
Stored size: 488 Bytes
Contents
Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f} RSpec.configure do |config| config.color_enabled = true end class Time class << self unless method_defined? :old_new alias_method :old_new, :new alias_method :old_now, :now def new @now || old_new end def now @now || old_now end def now=(v) @now = v end def back_to_normal @now = nil end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
miniprofiler-0.1.7.4 | spec/spec_helper.rb |
miniprofiler-0.1.7.3 | spec/spec_helper.rb |
miniprofiler-0.1.7.2 | spec/spec_helper.rb |
miniprofiler-0.1.7.1 | spec/spec_helper.rb |