Sha256: b1acd2355f966e3e7eba52482eb423949f0cd56aa3479259cbe2ad78af8c371a

Contents?: true

Size: 427 Bytes

Versions: 4

Compression:

Stored size: 427 Bytes

Contents

require_relative '../test_helper'

class StoreRakeTest < Minitest::Unit::TestCase
  def setup
    load File.expand_path("../../../tasks/redis_store.rake", __FILE__)
    Rake::Task.define_task(:environment)
  end

  def test_store_flush_should_flush_the_store_with_mutli_key_scopes
    Progressrus::Store::Redis.any_instance.expects(:flush).with([1, 'test'])
    Rake::Task['progressrus:store:flush'].invoke(1,'test')
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
progressrus-0.0.4 test/tasks/redis_store_rake_test.rb
progressrus-0.0.3 test/tasks/redis_store_rake_test.rb
progressrus-0.0.2 test/tasks/redis_store_rake_test.rb
progressrus-0.0.1 test/tasks/redis_store_rake_test.rb