@@ -1947,7 +1947,7 @@ def test_copying_migrations_with_timestamps
1947
1947
@migrations_path = MIGRATIONS_ROOT + "/valid_with_timestamps"
1948
1948
@existing_migrations = Dir [ @migrations_path + "/*.rb" ]
1949
1949
1950
- Time . travel_to ( created_at = Time . utc ( 2010 , 7 , 26 , 10 , 10 , 10 ) ) do
1950
+ Time . travel_to ( Time . utc ( 2010 , 7 , 26 , 10 , 10 , 10 ) ) do
1951
1951
copied = ActiveRecord ::Migration . copy ( @migrations_path , { :bukkits => MIGRATIONS_ROOT + "/to_copy_with_timestamps" } )
1952
1952
assert File . exists? ( @migrations_path + "/20100726101010_people_have_hobbies.rb" )
1953
1953
assert File . exists? ( @migrations_path + "/20100726101011_people_have_descriptions.rb" )
@@ -1972,7 +1972,7 @@ def test_copying_migrations_with_timestamps_from_2_sources
1972
1972
sources [ :bukkits ] = MIGRATIONS_ROOT + "/to_copy_with_timestamps"
1973
1973
sources [ :omg ] = MIGRATIONS_ROOT + "/to_copy_with_timestamps2"
1974
1974
1975
- Time . travel_to ( created_at = Time . utc ( 2010 , 7 , 26 , 10 , 10 , 10 ) ) do
1975
+ Time . travel_to ( Time . utc ( 2010 , 7 , 26 , 10 , 10 , 10 ) ) do
1976
1976
copied = ActiveRecord ::Migration . copy ( @migrations_path , sources )
1977
1977
assert File . exists? ( @migrations_path + "/20100726101010_people_have_hobbies.rb" )
1978
1978
assert File . exists? ( @migrations_path + "/20100726101011_people_have_descriptions.rb" )
@@ -1992,7 +1992,7 @@ def test_copying_migrations_with_timestamps_to_destination_with_timestamps_in_fu
1992
1992
@migrations_path = MIGRATIONS_ROOT + "/valid_with_timestamps"
1993
1993
@existing_migrations = Dir [ @migrations_path + "/*.rb" ]
1994
1994
1995
- Time . travel_to ( created_at = Time . utc ( 2010 , 2 , 20 , 10 , 10 , 10 ) ) do
1995
+ Time . travel_to ( Time . utc ( 2010 , 2 , 20 , 10 , 10 , 10 ) ) do
1996
1996
ActiveRecord ::Migration . copy ( @migrations_path , { :bukkits => MIGRATIONS_ROOT + "/to_copy_with_timestamps" } )
1997
1997
assert File . exists? ( @migrations_path + "/20100301010102_people_have_hobbies.rb" )
1998
1998
assert File . exists? ( @migrations_path + "/20100301010103_people_have_descriptions.rb" )
@@ -2028,7 +2028,7 @@ def test_copying_migrations_to_non_existing_directory
2028
2028
@migrations_path = MIGRATIONS_ROOT + "/non_existing"
2029
2029
@existing_migrations = [ ]
2030
2030
2031
- Time . travel_to ( created_at = Time . utc ( 2010 , 7 , 26 , 10 , 10 , 10 ) ) do
2031
+ Time . travel_to ( Time . utc ( 2010 , 7 , 26 , 10 , 10 , 10 ) ) do
2032
2032
copied = ActiveRecord ::Migration . copy ( @migrations_path , { :bukkits => MIGRATIONS_ROOT + "/to_copy_with_timestamps" } )
2033
2033
assert File . exists? ( @migrations_path + "/20100726101010_people_have_hobbies.rb" )
2034
2034
assert File . exists? ( @migrations_path + "/20100726101011_people_have_descriptions.rb" )
@@ -2043,7 +2043,7 @@ def test_copying_migrations_to_empty_directory
2043
2043
@migrations_path = MIGRATIONS_ROOT + "/empty"
2044
2044
@existing_migrations = [ ]
2045
2045
2046
- Time . travel_to ( created_at = Time . utc ( 2010 , 7 , 26 , 10 , 10 , 10 ) ) do
2046
+ Time . travel_to ( Time . utc ( 2010 , 7 , 26 , 10 , 10 , 10 ) ) do
2047
2047
copied = ActiveRecord ::Migration . copy ( @migrations_path , { :bukkits => MIGRATIONS_ROOT + "/to_copy_with_timestamps" } )
2048
2048
assert File . exists? ( @migrations_path + "/20100726101010_people_have_hobbies.rb" )
2049
2049
assert File . exists? ( @migrations_path + "/20100726101011_people_have_descriptions.rb" )
0 commit comments