Skip to content

Commit

Permalink
Update tests to account for verbiage changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RickCarlino committed Jan 7, 2020
1 parent 7f0892d commit bc08514
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/sequences/step_tiles/__tests__/index_test.ts
Expand Up @@ -189,7 +189,7 @@ describe("renderCeleryNode()", () => {
},
{
node: { kind: "reboot", args: { package: "farmbot_os" } },
expected: "entire system"
expected: "power cycle farmbot's onboard computer."
},
{
node: { kind: "check_updates", args: { package: "farmbot_os" } },
Expand Down
3 changes: 1 addition & 2 deletions frontend/sequences/step_tiles/__tests__/tile_reboot_test.tsx
Expand Up @@ -32,8 +32,7 @@ describe("<TileReboot/>", () => {
it("renders", () => {
const el = render(<TileReboot {...fakeProps()} />);
const verbiage = el.text();
expect(verbiage).toContain("Entire system");
expect(verbiage).toContain("Just the Arduino");
expect(verbiage).toContain("Power cycle FarmBot's onboard computer.");
});

it("crashes if the step is of the wrong `kind`", () => {
Expand Down

0 comments on commit bc08514

Please sign in to comment.