Issue #13218 has been updated by ads (aditya singh).


 am following the Rails Tutorial e-book (https://www.welookups.com). I have reached chap6, where we must validity tests for user e-mails. I reached listing 6.23 added this line of code (VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z\d\-]+)*\.[a-z]+\z/i) to my file (app/models/user.rb) and then run 'rails test:models:' instead of showing me failing or successful tests on th

----------------------------------------
Bug #13218: testing
https://bugs.ruby-lang.org/issues/13218#change-73164

* Author: donchev1 (Aleks Donchev)
* Status: Feedback
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.3.0p0
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
I am following the Rails Tutorial e-book (https://www.railstutorial.org/book/modeling_users). I have reached chap6, where we must validity tests for user e-mails. I reached listing 6.23 added this line of code (`VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z\d\-]+)*\.[a-z]+\z/i`) to my file (app/models/user.rb) and then run 'rails test:models:' instead of showing me failing or successful tests on the console it tells me that I have encountered a bug. I am using the cloud 9 IDE. This is the whole message:



---Files--------------------------------
bug-13218.log (57.1 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>