DateTime => Time for consistency in changeset code, ok by shaun.
This commit is contained in:
parent
8fe53e4823
commit
898beb7b7f
5 changed files with 9 additions and 9 deletions
6
test/fixtures/changesets.yml
vendored
6
test/fixtures/changesets.yml
vendored
|
@ -7,7 +7,7 @@ normal_user_first_change:
|
|||
id: 1
|
||||
user_id: 1
|
||||
created_at: "2007-01-01 00:00:00"
|
||||
closed_at: <%= DateTime.now + Rational(1,24) %>
|
||||
closed_at: <%= Time.now + 1.hour %>
|
||||
min_lon: <%= 1 * SCALE %>
|
||||
min_lat: <%= 1 * SCALE %>
|
||||
max_lon: <%= 5 * SCALE %>
|
||||
|
@ -18,7 +18,7 @@ second_user_first_change:
|
|||
id: 2
|
||||
user_id: 2
|
||||
created_at: "2008-05-01 01:23:45"
|
||||
closed_at: <%= DateTime.now + Rational(1,24) %>
|
||||
closed_at: <%= Time.now + 1.hour %>
|
||||
num_changes: 0
|
||||
|
||||
normal_user_closed_change:
|
||||
|
@ -32,7 +32,7 @@ normal_user_version_change:
|
|||
id: 4
|
||||
user_id: 1
|
||||
created_at: "2008-01-01 00:00:00"
|
||||
closed_at: <%= DateTime.now + Rational(1,24) %>
|
||||
closed_at: <%= Time.now + 1.hour %>
|
||||
min_lon: <%= 1 * SCALE %>
|
||||
min_lat: <%= 1 * SCALE %>
|
||||
max_lon: <%= 4 * SCALE %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue