Sha256: 67a32d73d7410b9515bbca43c7fad5cb88bbd5e77124bd1b0c5061835a09d5c8
Contents?: true
Size: 539 Bytes
Versions: 2
Compression:
Stored size: 539 Bytes
Contents
require 'minitest/autorun' require 'minitest/pride' require_relative '../src/such_test_bot.rb' class TestSuchTestBot < MiniTest::Test def test_generate_returns_hello_world assert_match /Hello/, SuchTestBot.generate end def test_hides_greetings refute_respond_to SuchTestBot, :greetings assert_instance_of String, SuchTestBot.send(:greetings)[0] end def test_hides_io_metal refute_respond_to SuchTestBot, :load_txt_file assert_equal 3, SuchTestBot.send(:load_txt_file, 'greetings.txt').length end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
twitter_bot_generator-0.2.1 | such_test_bot/test/such_test_bot_test.rb |
twitter_bot_generator-0.2.0 | such_test_bot/test/such_test_bot_test.rb |