Sha256: a679f705ff80697dea343cd9b962b5d23fcdbad22ae834b7509ab584898f30a1

Contents?: true

Size: 331 Bytes

Versions: 35

Compression:

Stored size: 331 Bytes

Contents

require File.join(File.dirname(__FILE__), '/../../../test_helper')

class ActiveRecord::BaseTest < ActiveSupport::TestCase
  def test_updated_on_string
    base = HtmlBlock.new
    assert_nil base.updated_on_string
    base.updated_at = Time.zone.parse("1978-07-06")
    assert_equal "Jul 6, 1978", base.updated_on_string
  end
end

Version data entries

35 entries across 35 versions & 11 rubygems

Version Path
SFEley-browsercms-3.0.2 test/unit/extensions/active_record/base_test.rb
buzzware-browsercms-3.0.2 test/unit/extensions/active_record/base_test.rb
coredumplings-browsercms-3.0.0 test/unit/extensions/active_record/base_test.rb
nate-browsercms-3.0.210 test/unit/extensions/active_record/base_test.rb
nate-browsercms-3.0.211 test/unit/extensions/active_record/base_test.rb
we5-browsercms-3.0.1.1 test/unit/extensions/active_record/base_test.rb
webficient-browsercms-3.0.1 test/unit/extensions/active_record/base_test.rb
webficient-browsercms-3.0.2 test/unit/extensions/active_record/base_test.rb
webficient-browsercms-3.0.3 test/unit/extensions/active_record/base_test.rb
webficient-browsercms-3.0.4 test/unit/extensions/active_record/base_test.rb
browsercms-3.1.5 test/unit/extensions/active_record/base_test.rb
browsercms-3.1.4 test/unit/extensions/active_record/base_test.rb
browsercms-3.1.3 test/unit/extensions/active_record/base_test.rb
bf4-browsercms-3.1.0 test/unit/extensions/active_record/base_test.rb
drujensen-browsercms-3.2.0 test/unit/extensions/active_record/base_test.rb
browsercmsi-3.1.2 test/unit/extensions/active_record/base_test.rb
browsercms-3.1.2 test/unit/extensions/active_record/base_test.rb
browsercms-3.1.1 test/unit/extensions/active_record/base_test.rb
browsercmsi-3.1.1 test/unit/extensions/active_record/base_test.rb
browsercmsi-3.1.0 test/unit/extensions/active_record/base_test.rb