Skip to content

Commit

Permalink
Merge pull request #1360 from concord-consortium/188181381-fix-phrasi…
Browse files Browse the repository at this point in the history
…ng-issue

Update Success Message for Assigning Classes (PT-188181381)
  • Loading branch information
nstclair-cc committed Sep 16, 2024
2 parents 6dbee27 + 397636a commit 8806e67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export default class AssignModal extends React.Component<any, any> {
resourceAssigned () {
return (
<ReactModal ariaHideApp={false} isOpen={this.state.showModal} onRequestClose={this.props.closeFunc} className={css.confirmDialog} overlayClassName={css.confirmDialogOverlay} portalClassName={css.confirmDialogPortal}>
<p>The { this.props.resourceType } <strong>{ this.props.resourceTitle }</strong> is assigned to the selected class(es) successfully.</p>
<p>The { this.props.resourceType } <strong>{ this.props.resourceTitle }</strong> has now been successfully assigned to the selected class(es).</p>
<button onClick={this.closeConfirmModal}>OK</button>
</ReactModal>
);
Expand Down
2 changes: 1 addition & 1 deletion rails/spec/features/teacher_assigns_resource_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
first(".unassigned_activity_class").click
click_on "Save"
end
expect(page).to have_content("is assigned to the selected class(es) successfully.")
expect(page).to have_content("has now been successfully assigned to the selected class(es).")
end
end

Expand Down

0 comments on commit 8806e67

Please sign in to comment.