diff --git a/app/views/dashboard/issues.html.haml b/app/views/dashboard/issues.html.haml index e038582078d391e2be86e686d9b04beca5442649..e3093bcfe2a4bb39617e2c8fba507bbf258c410c 100644 --- a/app/views/dashboard/issues.html.haml +++ b/app/views/dashboard/issues.html.haml @@ -13,7 +13,7 @@ - @issues.group_by(&:project).each do |group| %div.ui-box - @project = group[0] - %h5= @project.name + %h5= link_to(@project.name, project_path(@project)) %ul.unstyled.issues_table - group[1].each do |issue| = render(partial: 'issues/show', locals: {issue: issue}) diff --git a/features/steps/dashboard/dashboard_issues.rb b/features/steps/dashboard/dashboard_issues.rb index e5caf905f953f58e0c197a1a6f8d963d1e9459c7..5ace88023f0d3f29f995ab7b0d162814e4cfbac2 100644 --- a/features/steps/dashboard/dashboard_issues.rb +++ b/features/steps/dashboard/dashboard_issues.rb @@ -7,6 +7,7 @@ class DashboardIssues < Spinach::FeatureSteps issues.each do |issue| page.should have_content(issue.title[0..10]) page.should have_content(issue.project.name) + page.should have_link(issue.project.name) end end