Sha256: cf1bc358cd0ce04116a37ab026d3f2a8742a1b4bb4234aaf801c9274c64d2dc8
Contents?: true
Size: 673 Bytes
Versions: 1
Compression:
Stored size: 673 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe "User Profile" do before do # FactoryGirl.create(:user) # FactoryGirl.create(:archivist) # FactoryGirl.create(:curator) sign_in :curator end it "should be displayed" do click_link "curator1@example.com" page.should have_content "Edit Your Profile" end it "should be editable" do click_link "curator1@example.com" click_link "Edit Your Profile" fill_in 'user_twitter_handle', with: 'curatorOfData' click_button 'Save Profile' page.should have_content "Your profile has been updated" page.should have_content "curatorOfData" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sufia-3.0.0 | spec/features/users_spec.rb |