]> git.openstreetmap.org Git - rails.git/blob - test/models/tracepoint_test.rb
Require display names to have a minimum unicode width of 3 columns
[rails.git] / test / models / tracepoint_test.rb
1 require "test_helper"
2
3 class TracepointTest < ActiveSupport::TestCase
4   def test_timestamp_required
5     tracepoint = create(:tracepoint)
6     assert_predicate tracepoint, :valid?
7     tracepoint.timestamp = nil
8     assert_not_predicate tracepoint, :valid?
9   end
10 end