This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- type: remove | |
path: '/instance_groups/name=blobstore' | |
- type: replace | |
s3base: &s3base # UNUSED. this part is sneaky, but the same shit is repeated almost verbatim 12 times in CF manifest | |
blobstore_type: 'fog' | |
fog_connection: | |
provider: AWS | |
aws_access_key_id: ((cc_s3_access_key)) | |
aws_secret_access_key: ((cc_s3_secret_key)) | |
path: '/instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/buildpacks' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe Product do | |
before do | |
@product = Product.new | |
describe "#total" do | |
it "returns price x quantity" do | |
@product.total.should == | |
@product.price * | |
@product.quantity | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe Product do | |
it "requires a title" do | |
Product.new().should have(1).error_on(:title) | |
end | |
end |