This commit is contained in:
artyom 2019-03-03 01:39:07 +03:00
Родитель b08d70c310
Коммит acc356ab15
2 изменённых файлов: 3 добавлений и 5 удалений

Просмотреть файл

@ -30,8 +30,8 @@ namespace Camelotia.Presentation.Tests
model.IsLoading.Should().BeFalse();
model.IsReady.Should().BeFalse();
model.LoadProviders.CanExecute(null).Should().BeTrue();
model.LoadProviders.Execute(null);
model.Refresh.CanExecute(null).Should().BeTrue();
model.Refresh.Execute(null);
scheduler.AdvanceBy(2);
model.Providers.Should().BeEmpty();
@ -59,7 +59,7 @@ namespace Camelotia.Presentation.Tests
scheduler.AdvanceBy(2);
model.Providers.Should().BeEmpty();
model.LoadProviders.Execute(null);
model.Refresh.Execute(null);
scheduler.AdvanceBy(3);
model.Providers.Should().NotBeEmpty();

Просмотреть файл

@ -113,8 +113,6 @@ namespace Camelotia.Presentation.ViewModels
public bool IsLoading => _isLoading.Value;
public ICommand LoadProviders => _refresh;
public bool IsReady => _isReady.Value;
public ICommand Refresh => _refresh;