Sha256: fc87cf986b5f3ba788a10de57a8e6507e4a0e2d19897aa1e9b3abc293d80f744

Contents?: true

Size: 880 Bytes

Versions: 18

Compression:

Stored size: 880 Bytes

Contents

describe "The Dashboard", type: :feature do
  before do
    sign_in :user_with_fixtures
  end

  context "upon sign-in" do
    it "shows the user's information" do
      expect(page).to have_content "My Dashboard"
      expect(page).to have_content "User Activity"
      expect(page).to have_content "User Notifications"
      expect(page).to have_content "Collections created"
      expect(page).to have_content "Works created"
    end

    it "lets the user create collections" do
      click_link "Create Collection"
      expect(page).to have_content "Create New Collection"
    end

    it "lets the user view works" do
      click_link "View Works"
      expect(page).to have_content "My Works"
      expect(page).to have_content "My Collections"
      expect(page).to have_content "My Highlights"
      expect(page).to have_content "Works Shared with Me"
    end
  end
end

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
hyrax-1.1.1 spec/features/display_dashboard_spec.rb
hyrax-1.1.0 spec/features/display_dashboard_spec.rb
sufia-7.4.1 spec/features/display_dashboard_spec.rb
hyrax-1.0.5 spec/features/display_dashboard_spec.rb
sufia-7.4.0 spec/features/display_dashboard_spec.rb
hyrax-1.0.4 spec/features/display_dashboard_spec.rb
hyrax-1.0.3 spec/features/display_dashboard_spec.rb
hyrax-1.0.2 spec/features/display_dashboard_spec.rb
hyrax-1.0.1 spec/features/display_dashboard_spec.rb
hyrax-1.0.0.rc2 spec/features/display_dashboard_spec.rb
sufia-7.3.1 spec/features/display_dashboard_spec.rb
hyrax-1.0.0.rc1 spec/features/display_dashboard_spec.rb
sufia-7.3.0 spec/features/display_dashboard_spec.rb
sufia-7.3.0.rc3 spec/features/display_dashboard_spec.rb
sufia-7.3.0.rc2 spec/features/display_dashboard_spec.rb
sufia-7.3.0.rc1 spec/features/display_dashboard_spec.rb
test_hyrax-0.0.1.alpha spec/features/display_dashboard_spec.rb
sufia-7.2.0 spec/features/display_dashboard_spec.rb