refactored attempts_feature_spec.rb