mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove duplicated "test" prefix
This commit is contained in:
parent
a500b4796f
commit
a315846923
5 changed files with 8 additions and 8 deletions
|
@ -38,7 +38,7 @@ class Mysql2BooleanTest < ActiveRecord::Mysql2TestCase
|
|||
assert_equal :string, string_column.type
|
||||
end
|
||||
|
||||
test "test type casting with emulated booleans" do
|
||||
test "type casting with emulated booleans" do
|
||||
emulate_booleans true
|
||||
|
||||
boolean = BooleanType.create!(archived: true, published: true)
|
||||
|
@ -55,7 +55,7 @@ class Mysql2BooleanTest < ActiveRecord::Mysql2TestCase
|
|||
assert_equal 0, @connection.type_cast(false)
|
||||
end
|
||||
|
||||
test "test type casting without emulated booleans" do
|
||||
test "type casting without emulated booleans" do
|
||||
emulate_booleans false
|
||||
|
||||
boolean = BooleanType.create!(archived: true, published: true)
|
||||
|
|
|
@ -15,7 +15,7 @@ module ActiveRecord
|
|||
@connection.drop_table :cache_mes, if_exists: true
|
||||
end
|
||||
|
||||
test "test_cache_key_format_is_not_too_precise" do
|
||||
test "cache_key format is not too precise" do
|
||||
record = CacheMe.create
|
||||
key = record.cache_key
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@ module ActiveRecord
|
|||
assert_equal({ foo: "bar" }, relation.create_with_value)
|
||||
end
|
||||
|
||||
test "test_merge!" do
|
||||
test "merge!" do
|
||||
assert relation.merge!(select: :foo).equal?(relation)
|
||||
assert_equal [:foo], relation.select_values
|
||||
end
|
||||
|
|
|
@ -77,7 +77,7 @@ module ApplicationTests
|
|||
assert_equal "Schema migrations table does not exist yet.\n", output
|
||||
end
|
||||
|
||||
test "test migration status" do
|
||||
test "migration status" do
|
||||
Dir.chdir(app_path) do
|
||||
`bin/rails generate model user username:string password:string;
|
||||
bin/rails generate migration add_email_to_users email:string;
|
||||
|
@ -117,7 +117,7 @@ module ApplicationTests
|
|||
end
|
||||
end
|
||||
|
||||
test "test migration status after rollback and redo" do
|
||||
test "migration status after rollback and redo" do
|
||||
Dir.chdir(app_path) do
|
||||
`bin/rails generate model user username:string password:string;
|
||||
bin/rails generate migration add_email_to_users email:string;
|
||||
|
@ -224,7 +224,7 @@ module ApplicationTests
|
|||
end
|
||||
end
|
||||
|
||||
test "test migration status migrated file is deleted" do
|
||||
test "migration status migrated file is deleted" do
|
||||
Dir.chdir(app_path) do
|
||||
`bin/rails generate model user username:string password:string;
|
||||
bin/rails generate migration add_email_to_users email:string;
|
||||
|
|
|
@ -323,7 +323,7 @@ module ApplicationTests
|
|||
assert true
|
||||
end
|
||||
|
||||
test "test line filter does not run this" do
|
||||
test "line filter does not run this" do
|
||||
assert true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue