Permalink
Browse files

modified vblob bvt to use app_sinatra_service and bump assets pointer

Change-Id: I645753d83343f4f037c5b909b6ac74c71669edff
  • Loading branch information...
1 parent 1cbd153 commit 57e345043b526d0980fbe0f8f64288be6a11d49d @SlimYang SlimYang committed May 17, 2012
Showing with 6 additions and 6 deletions.
  1. +1 −1 assets
  2. +3 −3 features/step_definitions/vblob_steps.rb
  3. +1 −1 features/support/env.rb
  4. +1 −1 features/support/testconfig.yml
2 assets
@@ -15,21 +15,21 @@
end
Given /^I create a container in my vblob service through my application$/ do
- uri = get_uri(@app, 'container1')
+ uri = get_uri(@app, 'service/vblob/container1')
r = post_uri(uri,'dummy') # here post_uri requires payload, but our service safely ignores the payload, thus really some dummy data to make post_uri happy
r.response_code.should == 200
r.close
end
When /^I create an file in my vblob service through my application$/ do
- uri = get_uri(@app, 'container1/file1')
+ uri = get_uri(@app, 'service/vblob/container1/file1')
r = post_uri(uri, 'abc')
r.response_code.should == 200
r.close
end
Then /^I should be able to get the file$/ do
- uri = get_uri @app, "container1/file1"
+ uri = get_uri @app, "service/vblob/container1/file1"
r = get_uri_contents uri
r.should_not == nil
r.response_code.should == 200
View
@@ -59,7 +59,7 @@
BROKERED_SERVICE_APP = "brokered_service_app"
JAVA_APP_WITH_STARTUP_DELAY = "java_app_with_startup_delay"
RAILS_CONSOLE_TEST_APP = "rails_console_test_app"
-VBLOB_APP = "vblob_app"
+VBLOB_APP = "app_sinatra_service"
SERVICE_QUOTA_APP = "service_quota_app"
SPRING_APP_WITH_JAVAEE_NS = "javaee-namespace-app"
AUTO_RECONFIG_ANNOTATION_APP="auto-reconfig-annotation-app"
@@ -319,7 +319,7 @@ rails_console_19_test_app:
vblob_app:
framework: "http://b20nine.com/unknown"
memory: 256
- path: "assets/sinatra/vblob_app"
+ path: "assets/sinatra/app_sinatra_service"
service_quota_app:
framework: "http://b20nine.com/unknown"

0 comments on commit 57e3450

Please sign in to comment.