Skip to content

Commit

Permalink
Update spec for before feature change
Browse files Browse the repository at this point in the history
  • Loading branch information
inulty-dfe committed Dec 16, 2024
1 parent 83bc0f6 commit 73cfb8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

feature 'Publishing a course when course accrediting provider is invalid', { can_edit_current_and_next_cycles: false } do
before do
allow(Settings.features).to receive(:provider_partnerships).and_return(false)
given_i_am_authenticated_as_a_provider_user
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

feature 'selection accredited_bodies', { can_edit_current_and_next_cycles: false } do
before do
allow(Settings.features).to receive(:provider_partnerships).and_return(false)
given_i_am_authenticated_as_a_provider_user
when_i_visit_the_new_accredited_providers_page
end
Expand Down
1 change: 1 addition & 0 deletions spec/features/publish/courses/new_schools_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

feature 'selection schools', { can_edit_current_and_next_cycles: false } do
before do
allow(Settings.features).to receive(:provider_partnerships).and_return(false)
given_i_am_authenticated_as_a_provider_user
and_that_sites_exist
when_i_visit_the_publish_courses_new_schools_page
Expand Down

0 comments on commit 73cfb8e

Please sign in to comment.