Sha256: 807991084907be8826dca40f56cd85602ab5b7e2ddef5120c73ae926c04aee97
Contents?: true
Size: 366 Bytes
Versions: 1
Compression:
Stored size: 366 Bytes
Contents
require 'minitest/autorun' require 'minitest/pride' require_relative '../src/<%= bot_name %>.rb' class Test<%= class_name %> < Minitest::Test def test_matches_hello_world assert_equal true, (<%= class_name %>.matches? 'hello world') end def test_doesnt_match_hello_canada assert_equal false, (<%= class_name %>.matches? 'hello canada') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
twitter_bot_generator-0.2.3 | lib/twitter_bot_generator/templates/test/streaming-test_bot_test.rb.erb |