Skip to content

Commit

Permalink
Merge pull request consuldemocracy#5457 from consuldemocracy/fix_rubo…
Browse files Browse the repository at this point in the history
…cop_offense

Fix RSpec/LetBeforeExamples rubocop offense
  • Loading branch information
javierm authored Apr 2, 2024
2 parents d1f9d5b + c8c1b18 commit 93f5597
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/system/legislation/questions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

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,
Expand All @@ -16,6 +14,8 @@
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)

Expand Down

0 comments on commit 93f5597

Please sign in to comment.