Fix RSpec/LetBeforeExamples rubocop offense
This was accidentally introduced in commit 64aa1ffe0. Pronto didn't
detect it because the line itself was fine; the problem lied in its
place within the file.
This commit is contained in:
@@ -2,8 +2,6 @@ require "rails_helper"
|
||||
|
||||
describe "Legislation" do
|
||||
context "process debate page" do
|
||||
it_behaves_like "notifiable in-app", :legislation_question
|
||||
|
||||
let(:process) do
|
||||
create(:legislation_process,
|
||||
debate_start_date: Date.current - 3.days,
|
||||
@@ -16,6 +14,8 @@ describe "Legislation" do
|
||||
create(:legislation_question, process: process, title: "Question 3", description: "Description 3")
|
||||
end
|
||||
|
||||
it_behaves_like "notifiable in-app", :legislation_question
|
||||
|
||||
scenario "shows question list" do
|
||||
visit legislation_process_path(process)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user