Removes poll budget creation on specs

This commit is contained in:
decabeza
2018-07-04 18:12:43 +02:00
parent 16ff5c4400
commit 21f3d39c6a

View File

@@ -3,8 +3,7 @@ require 'rails_helper'
feature 'Budget Poll Officing' do
scenario 'Show sidebar menu if officer has shifts assigned' do
budget = create(:budget)
poll = create(:poll, budget: budget)
poll = create(:poll)
booth = create(:poll_booth)
booth_assignment = create(:poll_booth_assignment, poll: poll, booth: booth)