Use provided argument to get example
Merge pull request #358 from Hermanverschooten/rspec_2.99_compatibilty

Resolve deprecation warning for rspec 2.99.beta1 and higher