Sha256: bfe68ad4875b5bdce6b7d47291e550c4c7577cd288cec6c7920708495bd12cbd

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

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

1 entries across 1 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre1 spec/views/open_conference_ware/session_types/index.html.erb_spec.rb