require "test_helper"

class GobiertoBudgets::BudgetLineFeedbackTest < ActiveSupport::TestCase
  def budget_line_feedback
    @budget_line_feedback ||= GobiertoBudgets::BudgetLineFeedback.new
  end

  def test_valid
    assert budget_line_feedback.valid?
  end
end

# frozen_string_literal: true

require "test_helper"

class GobiertoBudgets::BudgetLineFeedbackTest < ActiveSupport::TestCase
  def site
    @site ||= sites(:madrid)
  end

  def budget_line_feedback
    @budget_line_feedback ||= GobiertoBudgets::BudgetLineFeedback.new(site: site)
  end

  def test_valid
    assert budget_line_feedback.valid?
  end
end

Add missing association in BudgetLineFeedback validation test
Add missing association in BudgetLineFeedback validation test
