aitor (owner)

Revisions

gist: 11048 Download_button fork
public
Public Clone URL: git://gist.github.com/11048.git
Embed All Files: show embed
Text #
1
2
3
4
5
6
7
8
9
    setup do
      @margie = Factory(:user, :login => 'm.thatcher')
      @jaiku = Factory(:jaiku, :content => "To solve Britain’s economic Disease with Socialism is like treating leukaemia with leeches.", :user => @margie)
      @activity = @jaiku.activities.first
    end
    
    should 'link the activities created on a model with the user that is generating the activity' do
      assert_equal @margie, @activity.user, "The activity should be registered as made by the user that create the jaiku"
    end