Update
This commit is contained in:
parent
c2f59f7c87
commit
9d2e4d419f
|
@ -49,6 +49,9 @@ describe "home page" do
|
|||
end
|
||||
|
||||
post "/login", username: "jdoe", password: "secret"
|
||||
|
||||
expect(response.status).to eql 200
|
||||
|
||||
# capybara
|
||||
expect(page).to have_selector(".header .username", :text => "jdoe")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue