Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Merge pull request #344 from jtharris/bugs/BZ928357
Browse files Browse the repository at this point in the history
Fixes for rhc_extended tests
  • Loading branch information
danmcp committed Mar 28, 2013
2 parents 7307f1e + 7dea458 commit 0c82e2e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 4 additions & 1 deletion features/lib/rhc_helper/persistable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ def from_json(json)
app.mysql_password = json['mysql_password']
app.mysql_hostname = json['mysql_hostname']
app.uid = json['uid']
return app
# Strip off any version info for the type
app.type = app.type.split('-').first

app
end
end

Expand Down
7 changes: 4 additions & 3 deletions features/multiple_cartridge.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ Feature: Multiple Cartridge Tests
Then the phpmyadmin cartridge should be running

@not-origin
Scenario: Conflicting Cartridge Fails
Then adding the postgresql cartridge should fail
Scenario: Multiple DBs Allowed
When the postgresql cartridge is added
Then the postgresql cartridge should be running

Scenario: Cartridge Removed
When the phpmyadmin cartridge is removed
When the mysql cartridge is removed
Then the phpmyadmin cartridge should be removed
Then the mysql cartridge should be removed
Then the mysql cartridge should be removed

0 comments on commit 0c82e2e

Please sign in to comment.