test/signore/cli_test.rb in signore-0.5.0 vs test/signore/cli_test.rb in signore-0.6.0
- old
+ new
@@ -68,12 +68,15 @@
end
args = %w(pronto Wikipedia ADHD)
out = capture_io { CLI.new(args, repo: repo).run input: input }.first
_(out).must_equal <<-end.dedent
text?
+
author?
+
subject?
+
source?
The Wikipedia page on ADHD is like 20 pages long. That’s just cruel.
[Mark Pilgrim]
end
args = %w(prego Wikipedia ADHD)
@@ -92,11 +95,14 @@
Patrick Ewing\n\n\n
end
io = capture_io { CLI.new(['pronto'], repo: repo).run input: input }
_(io.first).must_equal <<-end.dedent
text?
+
author?
+
subject?
+
source?
‘You’ve got an interesting accent. Subtle. I can’t place it.’
‘It’s text-to-speech… I was raised by smartphones.’
[Patrick Ewing]
end