Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This is NOT how you use RSpec
describe Foo do
before(:each) do
setup
end
def setup
@foo = Foo.new
end
# shitty specs with an IVAR!!!
# ...
end
@geeksam

If using ivars in tests is shitty, then... uh... I guess ALL MY TESTS EVER suck. Oh, except maybe the half-dozen or so I wrote since I noticed that MiniTest has #let.

@jc00ke
Owner

Yep, all_sams_tests - sams_tests_with_let = le_suck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.