Skip to content

Commit

Permalink
Add RSpec tags to direct deposit spec files (#19243)
Browse files Browse the repository at this point in the history
* Add team and feature RSpec tags to direct deposit spec files

* Updated tag name from 'team' to 'team_owner'

* Fix linting issue
  • Loading branch information
tpharrison authored Nov 5, 2024
1 parent c0d30e3 commit c8ba344
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

require 'rails_helper'

RSpec.describe V0::Profile::DirectDepositsController, type: :controller do
RSpec.describe V0::Profile::DirectDepositsController, feature: :direct_deposit,
team_owner: :vfs_authenticated_experience_backend,
type: :controller do
let(:user) { create(:user, :loa3, :accountable, icn: '1012666073V986297') }

before do
Expand Down
3 changes: 2 additions & 1 deletion spec/mailers/direct_deposit_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

require 'rails_helper'

RSpec.describe DirectDepositMailer, type: [:mailer] do
RSpec.describe DirectDepositMailer, feature: :direct_deposit,
team_owner: :vfs_authenticated_experience_backend, type: :mailer do
subject do
described_class.build(email, google_analytics_client_id, dd_type).deliver_now
end
Expand Down
3 changes: 2 additions & 1 deletion spec/serializers/direct_deposits_serializer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

require 'rails_helper'

describe DirectDepositsSerializer, type: :serializer do
describe DirectDepositsSerializer, feature: :direct_deposit,
team_owner: :vfs_authenticated_experience_backend, type: :serializer do
subject { serialize(direct_deposit, serializer_class: described_class) }

let(:direct_deposit) { build(:direct_deposit, :with_payment_account) }
Expand Down

0 comments on commit c8ba344

Please sign in to comment.