Sha256: e8309d748ad23ba8549aa9f3eeb7819eee805d66e7b4664c8fd95c3ab1a0270b

Contents?: true

Size: 328 Bytes

Versions: 8

Compression:

Stored size: 328 Bytes

Contents

require 'spec_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

8 entries across 8 versions & 1 rubygems

Version Path
enju_library-0.2.0.beta.8 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.2.0.beta.7 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.2.0.beta.6 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.2.0.beta.5 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.2.0.beta.4 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.2.0.beta.3 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.2.0.beta.2 spec/views/library_groups/show.html.erb_spec.rb
enju_library-0.2.0.beta.1 spec/views/library_groups/show.html.erb_spec.rb