adding rspec and cap support