public void Spec03() { using (var testable = new OnItemNodeIgnoreTestable()) { testable.Settings.Ignore.Add(@"/SOME/PATH/"); testable.Init(); testable.MenuCommand.Invoke(testable.MenuCommand); I.Expect(testable.Settings.Ignore).ToContain(@"\some\path\to\file.js"); } }
public void Spec02() { using (var testable = new OnItemNodeIgnoreTestable()) { testable.Settings.Ignore.Add(@"/SOME/PATH/TO/FILE.JS"); testable.Init(); testable.MenuCommand.Invoke(testable.MenuCommand); I.Expect(testable.Settings.Ignore).ToBeEmpty(); } }