hardbap (owner)

Revisions

gist: 189823 Download_button fork
public
Public Clone URL: git://gist.github.com/189823.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require File.join(File.dirname(__FILE__), '..', 'test_helper')
 
class BreenTest < ActiveSupport::TestCase
  context 'something' do
    setup { puts 'in the setup' }
 
    before_should 'do something before' do
      puts 'in the before'
    end
 
    should 'do_something' do
      puts 'in first test'
      assert true
    end
 
    should 'do_something_else' do
      puts 'in 2nd test'
      assert true
    end
  end
end
Text only #
1
2
3
4
5
6
7
8
Started
in the before
in the setup
.in the setup
in first test
.in the setup
in 2nd test
.