rspec of feature rewrite

as title ,

Using the new factory to rewrite the feature test