using LightBDD.Framework;
using LightBDD.Framework.Scenarios;
using LightBDD.MsTest3;

namespace PlanTempus.X.BDD.Scenarios;

[TestClass]
public partial class OrganizationSetupSpecs : FeatureFixtures.OrganizationSetupSpecs
{
    [Scenario]
    [TestMethod]
    public async Task Create_organization_for_registered_account()
    {
        await Runner.RunScenarioAsync(
            _ => Given_a_registered_account(),
            _ => When_I_create_an_organization_with_connection_string("Host=localhost;Database=tenant_db;"),
            _ => Then_the_organization_should_be_created_successfully()
        );
    }
}
