Sha256: f60ca880dcfc858c10883b4a9e87c125def00e897994fda05927d4b0ae140c5b
Contents?: true
Size: 329 Bytes
Versions: 4
Compression:
Stored size: 329 Bytes
Contents
require_relative "../lib/watchbuffy" require "minitest/autorun" describe Watchbuffy do it "picks a random Buffy or Angel episode" do stdout, error = capture_io do Watchbuffy.pick end assert_match /\A▶️ Watch (?:Angel|Buffy) episode \d+×\d+: ".*"\z/, stdout.chomp assert_equal "", error end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
watchbuffy-1.0.3 | spec/watchbuffy_spec.rb |
watchbuffy-1.0.2 | spec/watchbuffy_spec.rb |
watchbuffy-1.0.1 | spec/watchbuffy_spec.rb |
watchbuffy-1.0.0 | spec/watchbuffy_spec.rb |