Sha256: 634e008ddb8e38c6f659b3cf96de31e4dea29a0ac2c4803ed53f291edd63be88

Contents?: true

Size: 399 Bytes

Versions: 4

Compression:

Stored size: 399 Bytes

Contents

require 'minitest/autorun'
require_relative '../src/<%= bot_name %>.rb'

class Test<%= class_name %> <  MiniTest::Test

  def test_generate_returns_hello_world
    assert_match /Hello/, <%= class_name %>.generate
  end

  def test_hides_greetings
    refute_respond_to <%= class_name %>, :greetings
  end

  def test_hides_io_metal
    refute_respond_to <%= class_name %>, :load_txt_file
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twitter_bot_generator-0.1.6 lib/twitter_bot_generator/templates/test/test_bot_test.rb.erb
twitter_bot_generator-0.1.5 lib/twitter_bot_generator/templates/test/test_bot_test.rb.erb
twitter_bot_generator-0.1.4 lib/twitter_bot_generator/templates/test/test_bot_test.rb.erb
twitter_bot_generator-0.1.2 lib/twitter_bot_generator/templates/test/test_bot_test.rb.erb