Sha256: 247d850f1d17b95f83343abc48d0b0df04f2e27f5352c91bd6cb172d3ec6154c

Contents?: true

Size: 533 Bytes

Versions: 13

Compression:

Stored size: 533 Bytes

Contents

require "rails_helper"

feature "Content Author - Dashboard Links", type: :feature do
  fixtures :all

  it "redirects if accessed by a content author" do
    sign_in users :content_author1
    visit "/think_feel_do_dashboard"

    expect(page).to have_text "Home"
    expect(page).to have_link "ThinkFeelDo"
    expect(page).to have_link "Arms"
    expect(page).to_not have_link "Groups"
    expect(page).to_not have_link "Participants"
    expect(page).to_not have_link "Users"
    expect(page).to_not have_link "Reports"
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
think_feel_do_dashboard-1.2.0.beta1 spec/features/content_author/dashboard_links_spec.rb
think_feel_do_dashboard-1.1.21 spec/features/content_author/dashboard_links_spec.rb
think_feel_do_dashboard-1.1.20 spec/features/content_author/dashboard_links_spec.rb
think_feel_do_dashboard-1.1.19 spec/features/content_author/dashboard_links_spec.rb
think_feel_do_dashboard-1.1.18 spec/features/content_author/dashboard_links_spec.rb
think_feel_do_dashboard-1.1.17 spec/features/content_author/dashboard_links_spec.rb
think_feel_do_dashboard-1.1.16 spec/features/content_author/dashboard_links_spec.rb
think_feel_do_dashboard-1.1.15 spec/features/content_author/dashboard_links_spec.rb
think_feel_do_dashboard-1.1.14 spec/features/content_author/dashboard_links_spec.rb
think_feel_do_dashboard-1.1.13 spec/features/content_author/dashboard_links_spec.rb
think_feel_do_dashboard-1.1.12 spec/features/content_author/dashboard_links_spec.rb
think_feel_do_dashboard-1.1.11 spec/features/content_author/dashboard_links_spec.rb
think_feel_do_dashboard-1.1.10 spec/features/content_author/dashboard_links_spec.rb