specs for posts controller
Rebase with Master
Specs for user and attachment controller
Merge pull request #14 from rohandaxini/test-cases

Test cases
Rebase with Master
Conflicts:
	app/controllers/posts_controller.rb
	spec/controllers/posts_controller_spec.rb
	spec/factories/post.rb