Skip to content

Commit

Permalink
Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RileyManda committed Oct 20, 2023
1 parent 7238156 commit fc2e1c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/features/shopping_index_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
food = create(:food)
# Create recipe foods using the recipe_food factory with valid associations
recipe_foods = [
create(:recipe_food, recipe: recipe, food: food, quantity: 100, value: 10),
create(:recipe_food, recipe: recipe, food: food, quantity: 200, value: 20),
create(:recipe_food, recipe:, food:, quantity: 100, value: 10),
create(:recipe_food, recipe:, food:, quantity: 200, value: 20)
]
visit shopping_index_path
expect(page).to have_content('Shopping List')
Expand All @@ -28,4 +28,4 @@
expect(page).to have_content('Shopping List')
expect(page).to have_content('No shopping list available.')
end
end
end

0 comments on commit fc2e1c2

Please sign in to comment.