Sha256: 17e91a641ab554f20a896d91011c91f1ffc75cb636435bb460fa253d8b066548

Contents?: true

Size: 1.02 KB

Versions: 5

Compression:

Stored size: 1.02 KB

Contents

When /^registers a new 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

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

5 entries across 5 versions & 1 rubygems

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