Mercurial > hg > soundsoftware-site
comparison plugins/redmine_bibliography/test/functional/authors_controller_test.rb @ 1370:0b169a5e3837 bibliography_testing
Copied the user test fixtures to the plugin test folder; tests are now running.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 21 Aug 2013 18:57:34 +0100 |
parents | b4b72f1eb644 |
children | a8d468e143f7 |
comparison
equal
deleted
inserted
replaced
1369:40e64d14e691 | 1370:0b169a5e3837 |
---|---|
1 require File.dirname(__FILE__) + '/../test_helper' | 1 require File.expand_path(File.dirname(__FILE__) + '/../test_helper') |
2 | 2 |
3 class AuthorsControllerTest < ActionController::TestCase | 3 class AuthorsControllerTest < ActionController::TestCase |
4 # Replace this with your real tests. | 4 self.fixture_path = File.dirname(__FILE__) + "/../fixtures/" |
5 def test_truth | 5 fixtures :users, :authors |
6 assert true | 6 |
7 def test_users_authors_relationship | |
8 assert Author.first.user.name == "redMine Admin" | |
7 end | 9 end |
10 | |
8 end | 11 end |