Sha256: ac511b77f237e82bef24e9c2551af824cf485fe2bcb3f7a37baf39bfe42b2e1e
Contents?: true
Size: 249 Bytes
Versions: 2
Compression:
Stored size: 249 Bytes
Contents
require 'spec_helper' describe 'Decorate' do let(:article) { double('article') } it 'decorates properly' do allow(article).to receive(:title).and_return('Aslak') expect(ArticlePresenter.new(article).hello).to eq 'Hello, Aslak' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-poro-decorator-0.2.0 | spec/integration/decorate_spec.rb |
activeadmin-poro-decorator-0.1.0 | spec/integration/decorate_spec.rb |