Skip to content

Commit 8ac6cf1

Browse files
Fix cucumber text failures
1 parent b868dab commit 8ac6cf1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/db/test.sqlite3

0 Bytes
Binary file not shown.

app/features/entity_update.feature

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Feature: update an entity
99
| Theory 1 | Desc1 |
1010
When theory with name="Theory 1" is visited
1111
When I click on a link containing the word edit
12-
Then I should see "Editing theory"
12+
Then I should see "Edit theory"
1313
And I should see textbox with id "theory_name" and value "Theory 1"
1414

1515
Scenario: Edit an existing assumption with a valid new description
@@ -18,7 +18,7 @@ Feature: update an entity
1818
| Assumption 1 | Desc1 |
1919
When assumption with name="Assumption 1" is visited
2020
When I click on a link containing the word edit
21-
Then I should see "Editing assumption"
21+
Then I should see "Edit assumption"
2222
And I should see textbox with id "assumption_name" and value "Assumption 1"
2323

2424
Scenario: Edit an existing practice with a valid new description
@@ -27,5 +27,5 @@ Feature: update an entity
2727
| Practice 1 | Desc1 |
2828
When practice with name="Practice 1" is visited
2929
When I click on a link containing the word edit
30-
Then I should see "Editing practice"
30+
Then I should see "Edit practice"
3131
And I should see textbox with id "practice_name" and value "Practice 1"

app/features/step_definitions/addobject_step.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def fill_in_rich_text_area(_locator = nil, with:)
1818
end
1919

2020
Then("I should see the new theory's details") do
21-
expect(page).to have_content('Core Theory 1')
21+
expect(page).to have_content('Core theory 1')
2222
expect(page).to have_content('How to learning.')
2323
end
2424

0 commit comments

Comments
 (0)