Sha256: e0fae704a7d05a1227f413c5e88227e6a301781451f1f749ac14df402d4b7fc4

Contents?: true

Size: 445 Bytes

Versions: 2

Compression:

Stored size: 445 Bytes

Contents

require "integration/test_helper"

describe "Creating tables" do
  after do
    TableNameHelper.clean
  end

  it "creates a table with a valid name" do
    table = Azure::Tables::Table.create(TableNameHelper.name)
    table.must_be :kind_of?, Azure::Tables::Table

    # FIXME: for some reason MiniTest fails if we do table.must_be :valid?, but
    # only if we run rake, not if we run this test in isolation.
    assert table.valid?
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure-0.1.1 test/integration/tables/creating_tables_test.rb
azure-0.1.0 test/integration/tables/creating_tables_test.rb