fastruby / next_rails

A toolkit to upgrade your next Rails application
https://www.fastruby.io/blog/upgrade-rails/dual-boot/dual-boot-with-rails-6-0-beta.html?utm_source=github&utm_medium=description&utm_campaign=github&utm_term=next-rails
MIT License
466 stars 28 forks source link

Use next_rails namespace on spec tests. #117

Open JuanVqz opened 1 month ago

JuanVqz commented 1 month ago

Description

There were some unnecessary require_relative calls in the spec files, so I removed them and organized the test suite according to the classes in the library folder.

Motivation and Context

When creating additional classes within the NextRails namespace, it became challenging to utilize require_relative calls for loading the classes in spec files.

How Has This Been Tested?

The test suite should still pass.

Screenshots:

I will abide by the code of conduct