... | |
context '#leave_message_partial_path' do | |
it "returns an already_in_touch partial's path" do | |
assign('message_has_been_sent', true) | |
expect(helper.leave_message_partial_path).to( | |
eq 'posts/show/contact_user/already_in_touch' | |
) | |
end | |
it "returns an already_in_touch partial's path" do | |
assign('message_has_been_sent', false) | |
expect(helper.leave_message_partial_path).to( | |
eq 'posts/show/contact_user/message_form' | |
) | |
end | |
end | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment