Skip to content

Instantly share code, notes, and snippets.

View andlju's full-sized avatar

Anders Ljusberg andlju

View GitHub Profile
@andlju
andlju / With.cs
Created February 25, 2013 14:40
MassTransit Saga testing
public abstract class With<TSaga> where TSaga : SagaStateMachine<TSaga>, ISaga
{
private SagaTest<BusTestScenario, TSaga> _test;
public SagaTest<BusTestScenario, TSaga> Test
{
get { return _test; }
}
protected TSaga CreateSagaInState(Guid correlationId, State state)
@andlju
andlju / gist:5929786
Created July 4, 2013 19:28
Set up Redis with Puppet
package { 'redis-server':
ensure => present
}
service { 'redis-server' :
enable => true,
ensure => running,
require => Package['redis-server']
}