hardbap (owner)

Revisions

gist: 146360 Download_button fork
public
Public Clone URL: git://gist.github.com/146360.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
# make sure this is in your test helper. it's named poorly but this will make sure
# your db is reset to the original state after a test
 self.use_transactional_fixtures = true
 
context 'do something' do
  setup do
    # ...build my records here
  end
 
 should 'be awesome' do
  # ...some tests
 end
 
 should 'rock and roll' do
  # ...some tests
 end
end