Sha256: f8580b0684e567175c7d0be300a4ff5e7dcfcbe832ded1ff7242ccb6253802ff
Contents?: true
Size: 541 Bytes
Versions: 4
Compression:
Stored size: 541 Bytes
Contents
require 'spec_helper' module Tasuku describe Taskables::VerificationsHelper do describe '#confirm' do let(:user) { create :user } let(:verification) { create :verification } it 'renders a partial' do expect(helper).to receive(:render).with( partial: 'tasuku/taskables/verifications/confirmations/form.html.erb', locals: { confirmation: an_instance_of(Taskables::Verification::Confirmation) } ) helper.confirm verification end end end end
Version data entries
4 entries across 4 versions & 1 rubygems