Sha256: b06b9c4f319615371f30b2002b398e42ef753f0efc6f5972ea5eaff6b3925926
Contents?: true
Size: 307 Bytes
Versions: 5
Compression:
Stored size: 307 Bytes
Contents
require 'test_helper' class CategoryTest < ActiveSupport::TestCase fixtures :categories, :posts def test_should_display_new_post_text c = categories(:questions) c.new_post_text = "Ask a question" c.save! assert_equal "Ask a question", c.reload.display_new_post_text end end
Version data entries
5 entries across 5 versions & 1 rubygems