Sha256: bd19732ecf524435e2c6e74ab9efbd0c43633fefea4046ef613d4472ea22fd11

Contents?: true

Size: 455 Bytes

Versions: 13

Compression:

Stored size: 455 Bytes

Contents

require "rails_helper"

class WozzleReport
end

feature "Researcher - Reports", type: :feature do
  fixtures :all

  before do
    allow(Rails.application.config).to receive(:reports)
      .and_return([{ title: "Wozzles", id: :wozzles, klass: WozzleReport }])
    sign_in users :researcher1
    visit "/think_feel_do_dashboard"
    click_on "CSV Reports"
  end

  it "displays the reports that exist" do
    expect(page).to have_link "Wozzles"
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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