Sha256: 3e38e71b14f3badf015943e196f42745ac21370a136c89f135d7024c02d475e2

Contents?: true

Size: 417 Bytes

Versions: 13

Compression:

Stored size: 417 Bytes

Contents

require_relative '../test_helper'

class StoreRakeTest < Minitest::Test
  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

13 entries across 13 versions & 1 rubygems

Version Path
progressrus-1.0.3 test/tasks/redis_store_rake_test.rb
progressrus-1.0.2 test/tasks/redis_store_rake_test.rb
progressrus-1.0.1 test/tasks/redis_store_rake_test.rb
progressrus-1.0.0 test/tasks/redis_store_rake_test.rb
progressrus-0.1.8 test/tasks/redis_store_rake_test.rb
progressrus-0.1.7 test/tasks/redis_store_rake_test.rb
progressrus-0.1.6 test/tasks/redis_store_rake_test.rb
progressrus-0.1.5 test/tasks/redis_store_rake_test.rb
progressrus-0.1.4 test/tasks/redis_store_rake_test.rb
progressrus-0.1.3 test/tasks/redis_store_rake_test.rb
progressrus-0.1.2 test/tasks/redis_store_rake_test.rb
progressrus-0.1.1 test/tasks/redis_store_rake_test.rb
progressrus-0.1.0 test/tasks/redis_store_rake_test.rb