Sha256: 04c1e77173a9833cd9c727527d7bdb97383d81da95a6e59184ed1239ae0387f8

Contents?: true

Size: 404 Bytes

Versions: 10

Compression:

Stored size: 404 Bytes

Contents

When /^change the room name to "(.*)"$/ do |name|
  fill_in("bigbluebutton_room[name]", :with => name)
end

When /^clicks in the button to save the room$/ do
  find(:css, "input[type=submit]").click
end

Then /^the room name should( not)? be "(.+)"$/i do |negate, name|
  if negate.nil?
    BigbluebuttonRoom.first.name.should == name
  else
    BigbluebuttonRoom.first.name.should_not == name
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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