Skip to content

Commit

Permalink
UserSession.create(users(:bob)) # log in
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren authored Apr 24, 2019
1 parent dcf9767 commit 81d1622
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/system/post_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
class PostTest < ApplicationSystemTestCase

test 'posting from the editor' do
UserSession.create(users(:bob)) # log in

visit '/post'

fill_in(".ple-module-title input", with: "My new post")
Expand Down

0 comments on commit 81d1622

Please sign in to comment.