Skip to content

Commit

Permalink
Removed changes to spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
syed87 committed Oct 28, 2024
1 parent 0dc4b36 commit 0e784a0
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
let(:response) { nil }

it { is_expected.to validate_presence_of(:further_information_request_item) }
it { is_expected.to validate_presence_of(:response) }

describe "#save" do
subject(:save) { form.save(validate: true) }
Expand All @@ -22,13 +23,6 @@
let(:response) { "" }

it { is_expected.to be false }

it "adds an error to the response" do
subject
expect(form.errors[:response]).to include(
"Please respond to the assessor's request",
)
end
end

context "with a present value" do
Expand Down

0 comments on commit 0e784a0

Please sign in to comment.