Stepwise operation for rspec