Sha256: b0080ec3439b065e496a4f0b8ce88ebd1bc505be3a7344c74546b0eb351055ba
Contents?: true
Size: 535 Bytes
Versions: 2
Compression:
Stored size: 535 Bytes
Contents
require "integration/test_helper" describe "Inserting Entities" do after do TableNameHelper.clean end it "should be able to insert an entity" do table = Azure::Tables::Table.create(TableNameHelper.name) entity = Azure::Tables::Entity.new( "PartitionKey" => "part1", "RowKey" => "row1", "Address" => "Mountain View", "FirstName" => "John", "Email" => "john@example.com" ) table.insert(entity) assert entity.valid? entity.url.wont_be_nil end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
azure-0.1.1 | test/integration/tables/insert_entity_test.rb |
azure-0.1.0 | test/integration/tables/insert_entity_test.rb |