Commit 26d49af9f769157f26d04d2890652e64aee14b63
1 parent
2f32c84f
Exists in
master
and in
28 other branches
Remove bogus thread usage
Showing
2 changed files
with
0 additions
and
8 deletions
Show diff stats
test/unit/person_test.rb
| ... | ... | @@ -3,10 +3,6 @@ require File.dirname(__FILE__) + '/../test_helper' |
| 3 | 3 | class PersonTest < ActiveSupport::TestCase |
| 4 | 4 | fixtures :profiles, :users, :environments |
| 5 | 5 | |
| 6 | - def teardown | |
| 7 | - Thread.current[:enabled_plugins] = nil | |
| 8 | - end | |
| 9 | - | |
| 10 | 6 | def test_person_must_come_form_the_cration_of_an_user |
| 11 | 7 | p = Person.new(:environment => Environment.default, :name => 'John', :identifier => 'john') |
| 12 | 8 | assert !p.valid? | ... | ... |
test/unit/profile_test.rb
| ... | ... | @@ -3,10 +3,6 @@ require File.dirname(__FILE__) + '/../test_helper' |
| 3 | 3 | class ProfileTest < ActiveSupport::TestCase |
| 4 | 4 | fixtures :profiles, :environments, :users, :roles, :domains |
| 5 | 5 | |
| 6 | - def teardown | |
| 7 | - Thread.current[:enabled_plugins] = nil | |
| 8 | - end | |
| 9 | - | |
| 10 | 6 | def test_identifier_validation |
| 11 | 7 | p = Profile.new |
| 12 | 8 | p.valid? | ... | ... |