according to convention this file should have name targetprocess_spec.rb since #configure method which you are testing is defined under targetprocess module.