Mercurial > hg > soundsoftware-site
comparison plugins/redmine_bibliography/test/functional/authors_controller_test.rb @ 1371:a8d468e143f7 bibliography_testing
Started adding a few real test cases.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 22 Aug 2013 11:44:31 +0100 |
parents | 0b169a5e3837 |
children |
comparison
equal
deleted
inserted
replaced
1370:0b169a5e3837 | 1371:a8d468e143f7 |
---|---|
1 # authors_controller_test.rb | |
2 | |
1 require File.expand_path(File.dirname(__FILE__) + '/../test_helper') | 3 require File.expand_path(File.dirname(__FILE__) + '/../test_helper') |
2 | 4 |
3 class AuthorsControllerTest < ActionController::TestCase | 5 class AuthorsControllerTest < ActionController::TestCase |
4 self.fixture_path = File.dirname(__FILE__) + "/../fixtures/" | 6 self.fixture_path = File.dirname(__FILE__) + "/../fixtures/" |
5 fixtures :users, :authors | 7 fixtures :users, :authors, :authorships |
6 | 8 |
7 def test_users_authors_relationship | 9 def test_truth |
8 assert Author.first.user.name == "redMine Admin" | 10 assert true |
9 end | 11 end |
10 | 12 |
11 end | 13 end |