Remove duplicated "test" prefix
This commit is contained in:
parent
a500b4796f
commit
a315846923
@ -38,7 +38,7 @@ class BooleanType < ActiveRecord::Base
|
||||
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 BooleanType < ActiveRecord::Base
|
||||
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 @@ class CacheMe < ActiveRecord::Base; end
|
||||
@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 @@ def relation
|
||||
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 @@ class AMigration < ActiveRecord::Migration::Current
|
||||
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 @@ class AMigration < ActiveRecord::Migration::Current
|
||||
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 @@ class TwoMigration < ActiveRecord::Migration::Current
|
||||
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 @@ class PostTest < ActiveSupport::TestCase
|
||||
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 New Issue
Block a user