Sha256: 1f4b8c803df8391227e75fc67ef60e2d3ad5d3a93a1beba48ea9440b8079ca74

Contents?: true

Size: 416 Bytes

Versions: 5

Compression:

Stored size: 416 Bytes

Contents

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

When /^click in the button to save the room$/ do
  find(:css, "input#bigbluebutton_room_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

5 entries across 5 versions & 1 rubygems

Version Path
bigbluebutton_rails-1.2.0 spec/rails_app/features/step_definitions/edit_rooms_steps.rb
bigbluebutton_rails-1.1.0 spec/rails_app/features/step_definitions/edit_rooms_steps.rb
bigbluebutton_rails-1.0.0 spec/rails_app/features/step_definitions/edit_rooms_steps.rb
bigbluebutton_rails-0.1.1 spec/rails_app/features/step_definitions/edit_rooms_steps.rb
bigbluebutton_rails-0.1.0 spec/rails_app/features/step_definitions/edit_rooms_steps.rb