Sha256: bd42663c1eacd5737c9a6c31417a28e087f967dced198d608444f51217d5e47e

Contents?: true

Size: 329 Bytes

Versions: 32

Compression:

Stored size: 329 Bytes

Contents

require 'rails_helper'

describe "library_groups/show" do
  before(:each) do
    @library_group = LibraryGroup.site_config
    view.stub(:current_user).and_return(User.friendly.find('enjuadmin'))
  end

  it "renders attributes in <p>" do
    allow(view).to receive(:policy).and_return double(update?: true)
    render
  end
end

Version data entries

32 entries across 30 versions & 2 rubygems

Version Path
enju_library-0.3.11 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.3.10 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.3.9 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.3.8 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.3.8.rc.2 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.3.8.rc.1 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.4.0.rc.1 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.3.7 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.3.6 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.4.0.beta.4 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.4.0.beta.3 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.4.0.beta.2 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.4.0.beta.1 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.3.5 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.3.4 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.3.3 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.3.2 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.3.1 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.3.0 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.3.0.rc.1 spec/views/library_groups/show.html.erb_spec.rb