Skip to content

Instantly share code, notes, and snippets.

@jeremywrowe
Created August 21, 2013 00:56
Show Gist options
  • Save jeremywrowe/6289229 to your computer and use it in GitHub Desktop.
Save jeremywrowe/6289229 to your computer and use it in GitHub Desktop.
require "minitest/autorun"
class ALongTest < Minitest::Test
def setup
@this_is_cool = true
end
def test_this_is_cool
assert @this_is_cool
end
def test_this_is_not_cool
assert @this_is_not_cool
end
# a couple hundred lines of code
...
private
def construct_something
@this_is_not_cool = true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment