Sha256: 73f72657ed1e72c391a85d8b95e444c0a877dfc26c8dcbfe714e66f72d1c7019

Contents?: true

Size: 567 Bytes

Versions: 3

Compression:

Stored size: 567 Bytes

Contents

When /^he should see all available rooms in the list$/i do
  check_template("rooms index")
end

When /^he should see all the information available for this room$/i do
  check_template("show room", { :room => @room })
end

When /^(\d+) room(s)? in any other server$/i do |count, _|
  any_other_server = Factory.create(:bigbluebutton_server)
  count.to_i.times do
    Factory.create(:bigbluebutton_room, :server => any_other_server)
  end
end

When /^he should see only the rooms from this server$/i do
  check_template("server rooms", { :rooms => @server.rooms })
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bigbluebutton_rails-1.2.0 spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb
bigbluebutton_rails-1.1.0 spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb
bigbluebutton_rails-0.1.1 spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb