Sha256: 466a5b3a420bba5ed347ffaf5b093614e0d7e1ef4f065ca5c800e752319bf582

Contents?: true

Size: 575 Bytes

Versions: 10

Compression:

Stored size: 575 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 = FactoryGirl.create(:bigbluebutton_server)
  count.to_i.times do
    FactoryGirl.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

10 entries across 10 versions & 1 rubygems

Version Path
bigbluebutton_rails-3.0.0 spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb
bigbluebutton_rails-2.3.0 spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb
bigbluebutton_rails-2.2.0 spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb
bigbluebutton_rails-2.1.0 spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb
bigbluebutton_rails-2.0.0 spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb
bigbluebutton_rails-1.3.0.mweb1 spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb
bigbluebutton_rails-1.4.0 spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb
bigbluebutton_rails-1.4.0.beta1 spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb
bigbluebutton_rails-1.3.0 spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb
bigbluebutton_rails-1.3.0.beta1 spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb