Sha256: 3f021d526f6726cef2ba868c406389e7d987e6ff1acecbe1c2075b0b506bc3f1

Contents?: true

Size: 188 Bytes

Versions: 1

Compression:

Stored size: 188 Bytes

Contents

require 'spec_helper'

describe Post do
  it "Post has many tags" do
    post = Post.create(title: RoFaker.name, content: RoFaker.paras)
    post.tags.create(name: RoFaker.name)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rrjj-0.0.1 spec/models/post_spec.rb