Skip to content

Commit

Permalink
another rspec and linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sulak-j committed Sep 5, 2024
1 parent de4ac0c commit 4ed07aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ const CorrespondenceCancelTaskModal = (props) => {

const [instructions, setInstructions] = useState('');
const [instructionsAdded, setInstructionsAdded] = useState(true);
const tempTask = props.correspondenceInfo.tasksUnrelatedToAppeal.find((task1) => parseInt(props.task_id, 10) === parseInt(task1.uniqueId, 10));
const tempTask = props.correspondenceInfo.tasksUnrelatedToAppeal.find(
(task1) => parseInt(props.task_id, 10) === parseInt(task1.uniqueId, 10)
);

useEffect(() => {
// Handle document search position
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,12 @@
)
end

it "checks that Other Motion task can be cancelled." do
it "checks that Other motion task can be cancelled." do
visit "/queue/correspondence/#{@correspondence.uuid}"
click_dropdown(prompt: "Select an action", text: "Cancel task")
find(".cf-form-textarea", match: :first).fill_in with: "Cancel task test"
click_button "Cancel-task-button-id-1"
expect(page).to have_content("Other Motion task has been cancelled.")
expect(page).to have_content("Other motion task has been cancelled.")
end

it "checks that Other Motion task can be completed." do
Expand Down

0 comments on commit 4ed07aa

Please sign in to comment.