Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bartkozal committed Dec 20, 2016
1 parent 910cc1a commit 7658751
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/send_stack_collaboration_email_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class SendStackCollaborationEmailTest < ActionDispatch::IntegrationTest
assert page.has_content?("Pending")
click_link "Sign out"
open_email @new_user_email
assert_equal %(You are invited to collaborate on "#{@stack}"), current_email.subject
current_email.click_link %(Click to see and start working on "#{@stack}")
assert_equal %(#{@stack.owner} invited you to work on Markdown documents with Jottings), current_email.subject
current_email.click_link %(Join and start writing)
fill_in "Password", with: Faker::Internet.password
click_button "Sign up"
assert_equal editor_document_path(@stack.documents.last), current_path
Expand Down

0 comments on commit 7658751

Please sign in to comment.