time-warp
time-warp copied to clipboard
MiniTest NameError Problem
The MiniTest support that was added from issue #5 has been causing some trouble for me. It errors out with:
/Users/jon/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.8/lib/active_support/test_case.rb:14:in
class:TestCase': uninitialized constant MiniTest::Assertion (NameError)`
I am not using MiniTest, so don't have it enable. Reverting commit 859cfc5 fixes the problem and let's me continue [https://github.com/jmstacey/time-warp/commit/281e5215de72d9cbc724d5718d60f4ec01eb77d2].
I could issue a pull request, but I'll hold off since it would be nice to have dynamic support for whatever testing framework is in use. So, in the mean time, if anyone runs into this problem, I've forked the repo and reverted that single commit, so you can use something like this in your Gemfile: gem 'time-warp', git: "git://github.com/jmstacey/time-warp.git"
I think this is probably fixed by https://github.com/harvesthq/time-warp/pull/14