Sha256: d7131b52dd764b93fd3783bdcbc988c1dcf886f6a77c0ee1786d6ecb404ea63a

Contents?: true

Size: 431 Bytes

Versions: 3

Compression:

Stored size: 431 Bytes

Contents

require 'spec_helper'

describe "open_conference_ware/session_types/index.html.erb" do
  include OpenConferenceWare::SessionTypesHelper

  before(:each) do
    @event = stub_current_event!
    assign(:session_types, [
      stub_model(SessionType, event: @event),
      stub_model(SessionType, event: @event)
    ])
    view.stub(:admin?).and_return(false)
  end

  it "should render list of session_types" do
    render
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre4 spec/views/open_conference_ware/session_types/index.html.erb_spec.rb
open_conference_ware-1.0.0.pre3 spec/views/open_conference_ware/session_types/index.html.erb_spec.rb
open_conference_ware-1.0.0.pre2 spec/views/open_conference_ware/session_types/index.html.erb_spec.rb