fixed overlooked test in post_spec
solved rspec tests for model