Updated third step to be more robust
Updated step_definitions.rb for appropriate environment