This file shows a sample very basic test which mainly confirms that the rspec testframework works as expected.
Get Logstash and the developer plugins e.g. with:
wget https://download.elastic.co/logstash/logstash/logstash-2.0.0.tar.gz
tar -xzf logstash-2.0.0.tar.gz