Skip to content

Instantly share code, notes, and snippets.

@wlangstroth
Created February 8, 2013 04:03
Show Gist options
  • Save wlangstroth/4736520 to your computer and use it in GitHub Desktop.
Save wlangstroth/4736520 to your computer and use it in GitHub Desktop.
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