annotate 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
rev   line source
luis@1370 1 require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
luis@328 2
luis@328 3 class AuthorsControllerTest < ActionController::TestCase
luis@1370 4 self.fixture_path = File.dirname(__FILE__) + "/../fixtures/"
luis@1370 5 fixtures :users, :authors
luis@1370 6
luis@1370 7 def test_users_authors_relationship
luis@1370 8 assert Author.first.user.name == "redMine Admin"
luis@328 9 end
luis@1370 10
luis@328 11 end