Sha256: d2947cd42e9a8d99e1ab4b3e93444626740c30272f006faf50adac05b0769229

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

require 'spec_helper'

describe 'ArticlePresenter' do
  it 'delegates :all to Article' do
    expect(ArticlePresenter.all.class).to eq(Article::ActiveRecord_Relation)
  end

  it 'builds default scope' do
    expect(ArticlePresenter.build_default_scope).to eq nil
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activeadmin-poro-decorator-0.2.0 spec/integration/article_presenter_spec.rb