Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Test of Rule object
require "minitest_helper"
class RuleTest < MiniTest::Unit::TestCase
def setup
end
def teardown
end
def test_stuff
assert_equal true, true
end
end
describe Array do
it "can be created with no arguments" do
Array.new.must_be_instance_of Array
end
it "can be created with a specific size" do
Array.new(10).size.must_equal 10
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.