Sha256: 1e4f2aa8bf490c21c6143ca4baafdeb49b678ffe6e6edcc3f9fce10a78ff76b3

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

Given /^I host a spring mvc application with context location of "([^"]*)"$/ do |context_location|
  host_application(context_location)
end

Given /^the application will respond to (\S*) requests for the uri (\S*)$/ do |method, uri|
  # Because it will - see the reference_apps/valid_app folder
  # Somewhat tricky to do this step with a real J2EE app supplied as reference.
  # Need to think of something better here to verify that the J2EE app *is* able to respond to the URI
end

Given /^the application contains a spring bean with the id "([^"]*)"$/ do |bean_id|
  # Because it will - see the reference_apps/valid_app folder
  # Somewhat tricky to do this step with a real J2EE app supplied as reference.
  # Need to think of something better here to verify that the J2EE app *does* contain the requested 
  # bean that isn't actually using the functionality tested.
end

When /^I request the bean "([^"]*)"$/ do |bean_id|
  @last_response = lookup_bean(bean_id)
end

Then /^I receive a non\-nil object from my application context$/ do
  @last_response.should_not be_nil
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reigns-1.0.1-java features/step_definitions/fake_dispatcher_steps.rb