Sha256: d9d6004e95492eeef1f041e7883bb3e1a647960e85f289bb5c2bd0e4b6fdaa0d
Contents?: true
Size: 573 Bytes
Versions: 18
Compression:
Stored size: 573 Bytes
Contents
# == Schema Information # # Table name: lentil_tags # # id :integer not null, primary key # name :string(255) # created_at :datetime not null # updated_at :datetime not null # require 'test_helper' class TagTest < ActiveSupport::TestCase # test "the truth" do # assert true # end test "Tag should have an image" do assert lentil_tags(:hunttesting).images.count > 0 end test "Hashtags should be stripped" do tag = Lentil::Tag.new(name: '#hashtagTest') assert_equal "hashtagTest", tag.name end end
Version data entries
18 entries across 18 versions & 1 rubygems