Sha256: f2e3f61fff6d9bf0c481a2ff751c209052be53a910097e8326b24b7e9c3d22ed

Contents?: true

Size: 187 Bytes

Versions: 3

Compression:

Stored size: 187 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

3 entries across 3 versions & 1 rubygems

Version Path
r_decorator-0.0.7 spec/dummy/spec/decorators/view_helpers_spec.rb
r_decorator-0.0.6 spec/decorators/view_helpers_spec.rb
r_decorator-0.0.5 spec/decorators/view_helpers_spec.rb