Sha256: d98790b314d9f595086c1c57de943481e29744d2289b4dec17108a6aac85c7e4

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

require 'spec_helper'

describe "#RoCommands::Check" do
  let(:o) do
    ::RoCommands::Check.new
  end

  before do
    10.times do
      Post.create(title: RoFaker.sentence, content: RoFaker.paras)
    end
  end


  it "#table" do
    post = o.send(:"table", 'post').first
    expect(post.title).to have_value
    expect(post.content).to have_value
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rrjj-0.0.1 spec/lib/ro_commands/check_spec.rb