Change tests to use ruby/rails assertions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8249 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user