Sha256: 2fff54263a1d3a856c5b153af5056bdbdeb067575cfbf75f3d451190acdf4302
Contents?: true
Size: 360 Bytes
Versions: 4
Compression:
Stored size: 360 Bytes
Contents
require 'spec_helper' describe SimpleTaggable::Models::Tag do it "is created given name" do described_class.create!(name: "タグ") expect(described_class.first.name).to eq "タグ" end it "is invalid given duplicate name" do described_class.create!(name: "タグ") expect(described_class.new(name: "タグ")).not_to be_valid end end
Version data entries
4 entries across 4 versions & 1 rubygems