Skip to content

Commit

Permalink
Clean up test
Browse files Browse the repository at this point in the history
  • Loading branch information
gcao committed Oct 19, 2011
1 parent c89ad4f commit 1f9f114
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions test/before_test.rb
Expand Up @@ -3,7 +3,7 @@
class BeforeTest < Test::Unit::TestCase
include RubyProf::Test

class Test
class Klass
include Aspect4r

before :test, :before_test
Expand All @@ -16,13 +16,10 @@ def test; end

def before_test; end
end

def setup
@obj = Test.new
end

def test_before
@obj.test_no_aspect
@obj.test
o = Klass.new
o.test_no_aspect
o.test
end
end

0 comments on commit 1f9f114

Please sign in to comment.