factory and rspec

as title, changed rpsec and factory