summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-16 23:35:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-16 23:35:05 +0000
commit9b1e831fa67e88d9ae25670ee7ab7598b87b26b5 (patch)
tree5386c362004cd04b70a178b729a5607a6a1edf61 /test/test_helper.rb
parentad25e3807d2d63b5796fe25099b20d687bec3704 (diff)
downloadredmine-9b1e831fa67e88d9ae25670ee7ab7598b87b26b5.tar.gz
redmine-9b1e831fa67e88d9ae25670ee7ab7598b87b26b5.zip
Change tests to use ruby/rails assertions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8249 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 7ff3434be..09d9c3bb0 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -207,15 +207,6 @@ class ActiveSupport::TestCase
end
end
- def self.should_create_a_new_user(&block)
- should "create a new user" do
- user = instance_eval &block
- assert user
- assert_kind_of User, user
- assert !user.new_record?
- end
- end
-
# Test that a request allows the three types of API authentication
#
# * HTTP Basic with username and password