Sha256: 7c957a68f0dfe7bf271d54fdcca1eaefdc2c89e5ab1394dc073bb9d935378d23

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 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[secret]", :with => attrs[:secret])
  fill_in("bigbluebutton_server[version]", :with => attrs[:version])
  fill_in("bigbluebutton_server[slug]", :with => attrs[:slug])
  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[secret]", :with => attrs[:secret])
  fill_in("bigbluebutton_server[version]", :with => attrs[:version])
  fill_in("bigbluebutton_server[slug]", :with => attrs[:slug])
  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

1 entries across 1 versions & 1 rubygems

Version Path
bigbluebutton_rails-3.0.0 spec/rails_app/features/step_definitions/create_servers_steps.rb