Rspec share to test length attribute model