Commit 8d1ac5336400a030ab119af9a6467701eecb0bda
Committed by
Paulo Meireles
1 parent
a9432a0d
Exists in
master
and in
29 other branches
[Mezuro] Fixing call to fixtures in functional tests
Showing
1 changed file
with
1 additions
and
4 deletions
Show diff stats
plugins/mezuro/test/functional/mezuro_plugin_profile_controller_test.rb
@@ -3,9 +3,6 @@ require 'test_helper' | @@ -3,9 +3,6 @@ require 'test_helper' | ||
3 | require "#{RAILS_ROOT}/plugins/mezuro/test/fixtures/module_result_fixtures" | 3 | require "#{RAILS_ROOT}/plugins/mezuro/test/fixtures/module_result_fixtures" |
4 | require "#{RAILS_ROOT}/plugins/mezuro/test/fixtures/project_result_fixtures" | 4 | require "#{RAILS_ROOT}/plugins/mezuro/test/fixtures/project_result_fixtures" |
5 | require "#{RAILS_ROOT}/plugins/mezuro/test/fixtures/error_fixtures" | 5 | require "#{RAILS_ROOT}/plugins/mezuro/test/fixtures/error_fixtures" |
6 | -require "#{RAILS_ROOT}/plugins/mezuro/test/fixtures/base_tool_fixtures" | ||
7 | -require "#{RAILS_ROOT}/plugins/mezuro/test/fixtures/native_metric_fixtures" | ||
8 | -require "#{RAILS_ROOT}/plugins/mezuro/test/fixtures/metric_configuration_fixtures" | ||
9 | require "#{RAILS_ROOT}/plugins/mezuro/test/fixtures/repository_fixtures" | 6 | require "#{RAILS_ROOT}/plugins/mezuro/test/fixtures/repository_fixtures" |
10 | 7 | ||
11 | class MezuroPluginProfileControllerTest < ActionController::TestCase | 8 | class MezuroPluginProfileControllerTest < ActionController::TestCase |
@@ -18,7 +15,7 @@ class MezuroPluginProfileControllerTest < ActionController::TestCase | @@ -18,7 +15,7 @@ class MezuroPluginProfileControllerTest < ActionController::TestCase | ||
18 | 15 | ||
19 | @project_result = ProjectResultFixtures.qt_calculator | 16 | @project_result = ProjectResultFixtures.qt_calculator |
20 | @module_result = ModuleResultFixtures.create | 17 | @module_result = ModuleResultFixtures.create |
21 | - @repository_url = RepositoryFixtures.qt_calculator.address | 18 | + @repository_url = RepositoryFixtures.repository.address |
22 | @project = @project_result.project | 19 | @project = @project_result.project |
23 | @name = @project.name | 20 | @name = @project.name |
24 | 21 |