Skip to content

Commit

Permalink
Use js: true to enable javascript in js-dependent system spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitemaeric committed Jan 2, 2024
1 parent 968a6fd commit b2a311e
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
require "rails_helper"

# Changing type from feature => system stops the javascript working.
# Will attempt to resolve in another PR.
RSpec.describe "Placements / Providers / Support User adds a Provider",
type: :feature do
RSpec.describe "Placements / Providers / Support User adds a Provider", type: :system, js: true do
before do
next_year = Time.current.next_year.year

Expand Down

0 comments on commit b2a311e

Please sign in to comment.