0
測試代碼:未定義的方法``有效的 「possimus」:字符串
context 'validations' do
let(:super_campaign){FactoryGirl.create(:super_campaign)}
context 'package' do
it "Package should be present" do
expect(super_campaign.package).to be_valid
end
end
end
我收到錯誤,如undefined method "valid?" for "possimus":String
你正在接聽45秒,我花了更多的時間來鍵入這個答案:( – Sajan