Skip to content

Commit d50de89

Browse files
authored
Fix some minor typos (#178)
1 parent e1cde5c commit d50de89

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
161161
[Compare]: https://github.com/shakacode/cypress-playwright-on-rails/compare/v1.7.0...v1.8.0
162162

163163
### Changed
164-
* Use `FactoryBo#reload` to reset FactoryBot
164+
* Use `FactoryBot#reload` to reset FactoryBot
165165

166166
---
167167

lib/generators/cypress_on_rails/templates/spec/cypress/e2e/rails_examples/using_factory_bot.cy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ describe('Rails using factory bot examples', function() {
99
])
1010
cy.visit('/')
1111
cy.get('table').find('tbody').should(($tbody) => {
12-
// clean should of removed these from other tests
12+
// clean should have removed these from other tests
1313
expect($tbody).not.to.contain('Hello World')
1414

1515
expect($tbody).to.contain('Good bye Mars')
@@ -23,7 +23,7 @@ describe('Rails using factory bot examples', function() {
2323
])
2424
cy.visit('/')
2525
cy.get('table').find('tbody').should(($tbody) => {
26-
// clean should of removed these from other tests
26+
// clean should have removed these from other tests
2727
expect($tbody).to.contain('Hello World')
2828
expect($tbody).not.to.contain('Good bye Mars')
2929
})

lib/generators/cypress_on_rails/templates/spec/cypress/e2e/rails_examples/using_scenarios.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('Rails using scenarios examples', function() {
77
cy.appScenario('basic')
88
cy.visit('/')
99
cy.get('table').find('tbody').should(($tbody) => {
10-
// clean should of removed these from other tests
10+
// clean should have removed these from other tests
1111
expect($tbody).not.to.contain('Good bye Mars')
1212
expect($tbody).not.to.contain('Hello World')
1313

lib/generators/cypress_on_rails/templates/spec/cypress/support/on-rails.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// CypressOnRails: dont remove these command
1+
// CypressOnRails: don't remove these commands
22
Cypress.Commands.add('appCommands', function (body) {
33
Object.keys(body).forEach(key => body[key] === undefined ? delete body[key] : {});
44
const log = Cypress.log({ name: "APP", message: body, autoEnd: false })

0 commit comments

Comments
 (0)