You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I believe is an unintended consequence of using Faker::Name.name is that it occasionally generates an apostrophe in the name. In the way the form gets rendered, the apostrophe becomes an alt-code like so:
+ <li>
+ Name: Bria O'Connell
+ </li>
Diff:
@@ -1,2 +1,67 @@
-Bria O'Connell
While I am not certain this isn't intentional, it is a non-repeatable test.
before do
5.times do Student.create(name: Faker::Name.name, hometown: Faker::Address.city, birthday: Faker::Date.between(25.years.ago, 18.years.ago))
end
The text was updated successfully, but these errors were encountered:
@zoebisch This is a very good insight and often discussed. But it seems like this PR is opened on the wrong repository. Can you open this issue on some repo with a classroom_show_view spec?
What I believe is an unintended consequence of using Faker::Name.name is that it occasionally generates an apostrophe in the name. In the way the form gets rendered, the apostrophe becomes an alt-code like so:
Diff:
@@ -1,2 +1,67 @@
While I am not certain this isn't intentional, it is a non-repeatable test.
RSpec.describe "classroom_show_view" do
let(:classroom) { Classroom.create(course_name: 'Math', semester: "Spring #{Time.now.year}") }
let(:student){ Student.create(name: 'Bobby', hometown: Faker::Address.city, birthday: Faker::Date.between(25.years.ago, 18.years.ago)) }
before do
5.times do
Student.create(name: Faker::Name.name, hometown: Faker::Address.city, birthday: Faker::Date.between(25.years.ago, 18.years.ago))
end
The text was updated successfully, but these errors were encountered: