File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -78,15 +78,15 @@ def capture &block
7878 example "entries from text" do
7979 output = capture {
8080 entries_from_text project_id : @project_id ,
81- text_content : "_why authored a poignant guide to Ruby "
81+ text_content : "Alice wrote a book. Bob likes the book. "
8282 }
8383
84- expect ( output ) . to include "_why PERSON"
85- expect ( output ) . to include "Ruby OTHER "
84+ expect ( output ) . to include "Alice PERSON"
85+ expect ( output ) . to include "Bob PERSON "
8686 end
8787
8888 example "entries from a file stored in Google Cloud Storage" do
89- upload "entries.txt" , "_why authored a poignant guide to Ruby "
89+ upload "entries.txt" , "Alice wrote a book. Bob likes the book. "
9090
9191 output = capture {
9292 entries_from_cloud_storage_file (
@@ -95,8 +95,8 @@ def capture &block
9595 )
9696 }
9797
98- expect ( output ) . to include "_why PERSON"
99- expect ( output ) . to include "Ruby OTHER "
98+ expect ( output ) . to include "Alice PERSON"
99+ expect ( output ) . to include "Bob PERSON "
100100 end
101101
102102 example "syntax from text" do
You can’t perform that action at this time.
0 commit comments