require 'spec_helper' describe 'tasuku/taskables/verifications/confirmations/_form.html.erb' do let(:user) { create :user } let(:verification) { create :verification } let(:confirmation) { build :verification_confirmation, verification: verification } let(:html) { Capybara.string rendered } before do assign :confirmation, confirmation render partial: 'tasuku/taskables/verifications/confirmations/form.html.erb', locals: { confirmation: confirmation, author: user } end end