1
저는 rspec을 처음 사용했습니다. 다음 코드에 대한 기능 테스트를 작성하려면 어떻게해야합니까?어떻게이 기능 테스트를 작성합니까?
class FooController < ApplicationController
def new
@title = "Log in to Mint"
@msg = session[:msg]
session[:msg] = nil
end
end