File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
- <textarea class="chat-input" id="chat-input" ></textarea>
1
+ <textarea class="chat-input"></textarea>
2
2
<button class="post">Post</button>
Original file line number Diff line number Diff line change 23
23
page . should have_content ( @user . first_name )
24
24
page . should have_content ( @user . last_name )
25
25
26
- fill_in "chat-input" , :with => "Hello there"
26
+ chat_input = find ( :css , ".chat-input" )
27
+ chat_input . set "Hello there"
27
28
click_button "Post"
28
29
29
30
within ( "#channel-activities-1" ) do
30
31
page . should have_content ( "Hello there" )
31
32
end
32
33
33
- fill_in "chat-input" , :with => "Hi again"
34
+ chat_input . set "Hi again"
34
35
click_button "Post"
35
36
36
37
within ( "#channel-activities-1" ) do
37
38
page . should have_content ( "Hi again" )
38
39
end
39
40
40
41
end
41
- end
42
+ end
You can’t perform that action at this time.
0 commit comments