Files
mozo-backend/spec/controllers/application_controller_spec.rb
T

15 lines
314 B
Ruby

require 'rails_helper'
RSpec.describe 'Applications', type: :controller do
subject { ApplicationController.new }
describe 'after_sign_in_path_for' do
it 'returns the user path if the resource is user' do
result = subject.after_sign_in_path_for('user')
binding.pry
end
end
end