Changing access key rspec type