Skip to content

Commit

Permalink
Remove useless assignments in specs
Browse files Browse the repository at this point in the history
  • Loading branch information
rhian-cs authored and javierm committed Dec 22, 2021
1 parent 2bbfe28 commit 8e33745
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/system/admin/banners_spec.rb
Expand Up @@ -161,7 +161,7 @@
end

scenario "Delete a banner" do
banner = create(:banner, title: "Ugly banner",
create(:banner, title: "Ugly banner",
description: "Bad text",
target_url: "http://www.url.com",
post_started_at: (Date.current + 4.days),
Expand Down
2 changes: 1 addition & 1 deletion spec/system/admin/budget_groups_spec.rb
Expand Up @@ -46,7 +46,7 @@
end

scenario "Delete a group without headings" do
group = create(:budget_group, budget: budget, name: "Nowhere")
create(:budget_group, budget: budget, name: "Nowhere")

visit admin_budget_path(budget)

Expand Down

0 comments on commit 8e33745

Please sign in to comment.