Created
November 13, 2017 13:18
-
-
Save domagude/721f4dc239477e3dd0011753f31de021 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
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