diff --git a/spec/features/login_spec.rb b/spec/features/login_spec.rb index 52af7fd7..6fd7a580 100644 --- a/spec/features/login_spec.rb +++ b/spec/features/login_spec.rb @@ -23,6 +23,7 @@ page.should have_content(@user.first_name) page.should have_content(@user.last_name) + expect(page).to have_css('.chat-input') chat_input = find(:css, ".chat-input") chat_input.set "Hello there" click_button "Post"