Fixed #239
Proposals dashboard refactored to dashboard. Added missing specs for the dashboard.
This commit is contained in:
@@ -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 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user