Sha256: 0174bc5bf302b59875ba6c428f758b62382c308570d7191f0741f383c1866fc9
Contents?: true
Size: 423 Bytes
Versions: 3
Compression:
Stored size: 423 Bytes
Contents
require 'spec_helper' describe "open_conference_ware/rooms/index.html.erb" do include OpenConferenceWare::RoomsHelper before(:each) do @event = stub_current_event! assign(:rooms, [ stub_model(Room, name: "Foo room", event: @event), stub_model(Room, name: "Bar room", event: @event), ]) view.stub(:admin?).and_return(false) end it "should render list of rooms" do render end end
Version data entries
3 entries across 3 versions & 1 rubygems