Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Test git URLs in Gemfile.lock

assets shortlog 14c22cd4..1440be27

Jing Gong (2):
  add functions for mongodb
  Merge "add functions for mongodb"

Maria Shaldybina (2):
  Sinatra app with git dependencies
  Merge "Sinatra app with git dependencies"

Change-Id: Ia823625e5e53cc30c2b7c408ce3bd6a33085ad7b
  • Loading branch information...
commit d423ed203711335110251c658707ca4dd649e9f2 1 parent 433c924
@mariash mariash authored
2  assets
@@ -1 +1 @@
-Subproject commit 14c22cd46323d645abd9689cb1f131374468be8f
+Subproject commit 1440be27e79291cb16c22ba5de782f2ddfc912af
View
22 features/rubygems.feature
@@ -1,10 +1,10 @@
-@canonical @sinatra @smoke @ruby @rubygems
-Feature: Deploy the sinatra canonical app with bad gem
+@sinatra @smoke @ruby @rubygems
+Feature: Deploy the sinatra app with specified gem dependencies
- As a user with all canonical apps
+ As a user of Cloud Foundry
I want to deploy Ruby apps and have gems properly installed
- Background: deploying canonical service
+ Background: Logging in to Cloud Foundry
Given I have registered and logged in
Scenario: sinatra test deploy app with gem containing invalid date
@@ -90,4 +90,18 @@ Feature: Deploy the sinatra canonical app with bad gem
When I delete my application
Then it should not be on Cloud Foundry
+ Scenario: sinatra test deploy app with git gems using ruby19
+ Given I have deployed my application named git_gems_app_ruby19
+ When I query status of my application
+ Then I should get the state of my application
+ Then I should be able to access my application root and see hello from git
+ When I delete my application
+ Then it should not be on Cloud Foundry
+ Scenario: sinatra test deploy app with git gems using ruby18
+ Given I have deployed my application named git_gems_app_ruby18
+ When I query status of my application
+ Then I should get the state of my application
+ Then I should be able to access my application root and see hello from git
+ When I delete my application
+ Then it should not be on Cloud Foundry
View
12 features/support/testconfig.yml
@@ -526,6 +526,18 @@ broken_gem_app:
memory: 64
path: "assets/sinatra/broken_gem_app"
+git_gems_app_ruby18:
+ framework: sinatra
+ runtime: ruby18
+ memory: 256
+ path: "assets/sinatra/git_gems_app"
+
+git_gems_app_ruby19:
+ framework: sinatra
+ runtime: ruby19
+ memory: 256
+ path: "assets/sinatra/git_gems_app"
+
play_computer_database_scala_app:
framework: "play"
memory: 256
Please sign in to comment.
Something went wrong with that request. Please try again.