Topic: test case for create action

How to write rspec for:

@community = Community.new(params[:community])
    @community.url_title = params[:community][:title].parameterize

I searched for it for long but didnt get positive result.