Skip to content

Commit

Permalink
Cleaned up some lint in assign_hearing_tab_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
seancva committed May 16, 2023
1 parent 393d6eb commit 84063e3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions spec/models/queue_tabs/assign_hearing_tab_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@
it "returns correct options" do
cache_ama_appeals

expect(subject.first[:value]).to eq(URI::DEFAULT_PARSER.escape(URI::DEFAULT_PARSER.escape(appeal.representative_name)))
expect(subject.first[:value]).to eq(
URI::DEFAULT_PARSER.escape(URI::DEFAULT_PARSER.escape(appeal.representative_name))
)
expect(subject.first[:displayText]).to eq("#{appeal.representative_name} (2)")
end
end
Expand All @@ -207,7 +209,9 @@
it "returns correct options" do
cache_ama_appeals

expect(subject.first[:value]).to eq(URI::DEFAULT_PARSER.escape(URI::DEFAULT_PARSER.escape(hearing_location1.formatted_location)))
expect(subject.first[:value]).to eq(
URI::DEFAULT_PARSER.escape(URI::DEFAULT_PARSER.escape(hearing_location1.formatted_location))
)
expect(subject.first[:displayText]).to eq("#{hearing_location1.formatted_location} (2)")
end
end
Expand Down

0 comments on commit 84063e3

Please sign in to comment.