Sha256: fd37ae5df2acc810cfbcb7ea9e1e96e2c94be9e01db25145820e952619e2053f

Contents?: true

Size: 1.02 KB

Versions: 6

Compression:

Stored size: 1.02 KB

Contents

When /^registers a new server$/i do
  attrs = FactoryGirl.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

When /^registers a new server with a wrong URL$/i do
  attrs = FactoryGirl.attributes_for(:bigbluebutton_server_integration)
  fill_in("bigbluebutton_server[name]", :with => attrs[:name])
  fill_in("bigbluebutton_server[url]", :with => "invalid 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

When /(?:|I ) should see the information about this server/ do
  steps %Q{ When see the show server page }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bigbluebutton_rails-2.0.0 spec/rails_app/features/step_definitions/create_servers_steps.rb
bigbluebutton_rails-1.3.0.mweb1 spec/rails_app/features/step_definitions/create_servers_steps.rb
bigbluebutton_rails-1.4.0 spec/rails_app/features/step_definitions/create_servers_steps.rb
bigbluebutton_rails-1.4.0.beta1 spec/rails_app/features/step_definitions/create_servers_steps.rb
bigbluebutton_rails-1.3.0 spec/rails_app/features/step_definitions/create_servers_steps.rb
bigbluebutton_rails-1.3.0.beta1 spec/rails_app/features/step_definitions/create_servers_steps.rb