Sha256: 98ab71a6d19a0a396757fc91c3277d97897192e4510a72f178c2de83231e5168

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 Bytes

Contents

require File.join(File.expand_path('../test_helper', __FILE__))

class WolverineTest < MiniTest::Unit::TestCase

  def test_redis
    Wolverine.config.redis = :redis
    assert_equal :redis, Wolverine.redis
  end

  def test_reset!
    dir = Wolverine.root_directory
    assert_equal Wolverine.root_directory, dir
    Wolverine.reset!
    refute_equal Wolverine.root_directory, dir
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wolverine-0.2.3 test/wolverine_test.rb