hardbap (owner)

Revisions

gist: 158999 Download_button fork
public
Public Clone URL: git://gist.github.com/158999.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
authenticated_user do
  setup { # I can have a setup here }
 
  should 'do something' do
    # I can put shoulds here
  end
 
 context 'nested context' do
   setup { # another setup }
 
    should 'be fun' do
      # I can use the @user instance variable anywhere
      assert_equal 'Mike', @user.name
    end
 end
end