fix rspec write contant warnings