在练习中,为full_title助手编写测试,并且必须填写代码。这里是测试 require 'test_helper'
class ApplicationHelperTest < ActionView::TestCase
test "full title helper" do
assert_equal full_title, FILL_IN
assert_eq
我在rspec中有一个测试未通过,我不知道原因。测试指责以下情况: 1) SalesmenController POST #create redirect to new team
Failure/Error: params.require(:salesmen).permit(:name, :company_id)
ActionController::ParameterMiss