Proposals dashboard refactored to dashboard.
Added missing specs for the dashboard.
This commit is contained in:
Juan Salvador Pérez García
2018-07-24 15:52:43 +02:00
parent 0ea0a0031c
commit e5f9cf6710
82 changed files with 1131 additions and 694 deletions

View File

@@ -3,13 +3,13 @@ require 'rails_helper'
describe Link do
subject do
build :link,
linkable: proposal_dashboard_action,
linkable: dashboard_action,
label: label,
url: url,
open_in_new_tab: true
end
let(:proposal_dashboard_action) { build :proposal_dashboard_action }
let(:dashboard_action) { build :dashboard_action }
let(:label) { Faker::Lorem.sentence }
let(:url) { Faker::Internet.url }