Sha256: 0cabdc6e6b493647fbabefda8d907d96835d416bf04438692c9a91c313034d0e

Contents?: true

Size: 830 Bytes

Versions: 1

Compression:

Stored size: 830 Bytes

Contents

Given /a user named "(.+)"/i do |username|
  @username = username
  # TODO useless for now
end

And /^registers a new BigBlueButton server$/i do
  attrs = Factory.attributes_for(:bigbluebutton_server_integration)
  fill_in("bigbluebutton_server[name]", :with => attrs[:name])
  fill_in("bigbluebutton_server[url]", :with => attrs[:url])
  fill_in("bigbluebutton_server[salt]", :with => attrs[:salt])
  fill_in("bigbluebutton_server[version]", :with => attrs[:version])
  fill_in("bigbluebutton_server[param]", :with => attrs[:param])
  click_button("Create")
end

Then /(?:|I ) should see the information about this server/ do
  server = BigbluebuttonServer.last
  page_has_content(server.name)
  page_has_content(server.url)
  page_has_content(server.salt)
  page_has_content(server.version)
  page_has_content(server.param)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bigbluebutton_rails-0.0.5 spec/rails_app/features/step_definitions/bigbluebutton_server_steps.rb