Sha256: 4b021c732463b872829502957c48b6fc12fe98587f631624cc337644cc5cbf6f

Contents?: true

Size: 366 Bytes

Versions: 3

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

3 entries across 3 versions & 1 rubygems

Version Path
twitter_bot_generator-0.2.2 lib/twitter_bot_generator/templates/test/streaming-test_bot_test.rb.erb
twitter_bot_generator-0.2.1 lib/twitter_bot_generator/templates/test/streaming-test_bot_test.rb.erb
twitter_bot_generator-0.2.0 lib/twitter_bot_generator/templates/test/streaming-test_bot_test.rb.erb