Skip to content

Commit

Permalink
linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
syed87 committed Jun 3, 2024
1 parent d8db245 commit d067a23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
12 changes: 6 additions & 6 deletions spec/mailers/teacher_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,11 @@
)
end

it { is_expected.to include("Your QTS application: Awaiting Letter of Professional Standing") }
it do
is_expected.to include(
"Your QTS application: Awaiting Letter of Professional Standing",
)
end
end

context "if the teaching authority does not provide the written statement" do
Expand All @@ -219,11 +223,7 @@
)
end

it do
is_expected.to include(
"Your QTS application has been received",
)
end
it { is_expected.to include("Your QTS application has been received") }
end
end

Expand Down
4 changes: 1 addition & 3 deletions spec/system/teacher_interface/submitting_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ def and_i_receive_an_application_email
message = ActionMailer::Base.deliveries.last
expect(message).to_not be_nil

expect(message.subject).to eq(
"Your QTS application has been received",
)
expect(message.subject).to eq("Your QTS application has been received")
expect(message.to).to include("[email protected]")
end

Expand Down

0 comments on commit d067a23

Please sign in to comment.