Correct spelling of "woops" error message to more common usage

Change-Id: Id1411c320286b4e91597da0e1cc1bdc7e0388fe7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/248492
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Simon Williams <simon@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
Reviewed-by: Michael Ziwisky <mziwisky@instructure.com>
This commit is contained in:
Mike Ripley 2020-09-14 18:51:28 -04:00 committed by Simon Williams
parent f5fe83f030
commit 501e653b71
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ const NotFoundArtwork = () => (
<SVGWrapper url="/images/not_found_page/empty-planet.svg" />
</Container>
<Heading level="h2" as="h1" margin="x-small 0 0">
{I18n.t('Woops... Looks like nothing is here!')}
{I18n.t('Whoops... Looks like nothing is here!')}
</Heading>
<Container margin="small" display="block">
<Text level="h4" margin="x-small">

View File

@ -30,7 +30,7 @@ test('renders the NotFoundArtwork component', () => {
test('renders the NotFoundArtwork renders correct header', () => {
const tree = mount(<NotFoundArtwork {...defaultProps()} />)
const node = tree.find('Heading')
expect(node.text()).toBe('Woops... Looks like nothing is here!')
expect(node.text()).toBe('Whoops... Looks like nothing is here!')
})
test('renders the NotFoundArtwork component help description', () => {

View File

@ -705,7 +705,7 @@ describe "assignments" do
it "should not show the moderation page if it is not a moderated assignment ", priority: "2", test_id: 609653 do
@assignment.update_attribute(:moderated_grading, false)
get "/courses/#{@course.id}/assignments/#{@assignment.id}/moderate"
expect(f('#content h1').text).to eql "Woops... Looks like nothing is here!"
expect(f('#content h1').text).to eql "Whoops... Looks like nothing is here!"
end
end