Sha256: e8a6c840a8e8123492119a789b418944dd8956d54a4d3f90711d2e43c3366600

Contents?: true

Size: 183 Bytes

Versions: 2

Compression:

Stored size: 183 Bytes

Contents

require 'spec_helper'

describe 'view_context on rspec' do
  let(:author) { Author.create(name: 'test') }
  subject { author.decorated }
  its(:name_link) { should be_html_safe }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
r_decorator-0.0.4 spec/decorators/view_helpers_spec.rb
r_decorator-0.0.3 spec/decorators/view_helpers_spec.rb