Testing Rails App (MVC + Api) Using RSpec, Capybara, FactoryBot testing controller, model ,Api endpoint, Feature testing with capybara