require "spec_helper"

describe "User profiles" do
  let(:user) { FactoryGirl.create(:stewie_with_profile) }

  it "should display Stewie's profile" do
    visit user_profile_path(user)
    current_path.should == "/users/#{user.id}-#{user.name.parameterize}/profile"
    page.should have_content(user.name)
  end
end

require "spec_helper"

describe "User profiles" do
  let(:user) { FactoryGirl.create(:stewie_with_profile) }

  it "should display Stewie's profile" do
    visit user_profile_path(user)
    current_path.should == "/users/#{user.id}-#{user.name.parameterize}/profile"
    page.should have_content(user.name)
  end

  context "edit" do
    it "should upload a picture"
    it "should set the website address"
    it "should set the biography"
  end
end

Add pending user profile tests.
Add pending user profile tests.
