require 'spec_helper'

describe "User pages" do

  subject { page }

  describe "signup page" do
  	before { visit signup_path }

  	it { should have_title(user_title('Sign up')) }
  	it { should have_content('Sign up') }
  end

  describe "profile page" do
  	let(:user) { FactoryGirl.create(:user) }
  	before { visit user_path(user) }

  	it { should have_title(user_title(user.name)) }
  	it { should have_content(user.name) }
  end

end

require 'spec_helper'

describe "User pages" do

  subject { page }

  describe "signup page" do
  	before { visit signup_path }

  	it { should have_title(user_title('Sign up')) }
  	it { should have_content('Sign up') }
  end

  describe "profile page" do
  	let(:user) { FactoryGirl.create(:user) }
  	before { visit user_path(user) }

  	it { should have_title(user_title(user.name)) }
  	it { should have_content(user.name) }
    it { should have_content(user.email) }
  end

end

Add lc_email to initial entry (John Glenn)
Add lc_email to initial entry (John Glenn)
