test/store/redis_test.rb in progressrus-0.1.3 vs test/store/redis_test.rb in progressrus-0.1.4

- old
+ new

@@ -58,11 +58,11 @@ assert_equal @progress.id, stored_progress.id assert stored_progress.persisted? end def test_find_should_return_nil_if_nothing_is_found - assert_equal nil, @store.find(@scope, 'oemg') + assert_nil @store.find(@scope, 'oemg') end def test_flush_should_delete_by_scope @store.persist(@progress) @store.persist(@another_progress) @@ -76,10 +76,10 @@ @store.persist(@progress) @store.persist(@another_progress) @store.flush(@scope, 'oemg') - assert_equal nil, @store.find(@scope, 'oemg') + assert_nil @store.find(@scope, 'oemg') assert @store.find(@scope, 'oemg-two') end def test_initializes_name_to_redis assert_equal :redis, @store.name