Sha256: 10e702107ecc1411966d2762f81c3aa7e383f543c35a70a8bb62d5d4916e0b31
Contents?: true
Size: 539 Bytes
Versions: 1
Compression:
Stored size: 539 Bytes
Contents
require 'spec_helper' module Tasks 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: 'tasks/taskables/verifications/confirmations/form.html.erb', locals: { confirmation: an_instance_of(Taskables::Verification::Confirmation) } ) helper.confirm verification end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tasuku-0.0.1 | spec/helpers/tasks/taskables/verifications_helper_spec.rb |