public void set_to_development_mode() { FubuMode.SetUpForDevelopmentMode(); FubuMode.InDevelopment().ShouldBeTrue(); }
public void in_testing_mode_is_false_if_no_property_exists() { PackageRegistry.Properties.Remove(FubuMode.Testing); FubuMode.InTestingMode().ShouldBeFalse(); }
public void setup_for_testing_mode() { PackageRegistry.Properties.Remove(FubuMode.Testing); FubuMode.SetupForTestingMode(); FubuMode.InTestingMode().ShouldBeTrue(); }
public void in_testing_mode_is_false() { PackageRegistry.Properties[FubuMode.Testing] = false.ToString(); FubuMode.InTestingMode().ShouldBeFalse(); }
public void SetUp() { FubuMode.Reset(); }
public asset_writing_in_development() { FubuMode.SetUpForDevelopmentMode(); File("Foo.js").WriteLine("var x = 0;"); }
public void in_testing_mode_if_package_registry_is_set() { PackageRegistry.Properties[FubuMode.Testing] = true.ToString(); FubuMode.InTestingMode().ShouldBeTrue(); }
public void TearDown() { FubuMode.Reset(); }
public CoreServiceRegistry_specification() { FubuMode.Reset(); _serviceGraph = BehaviorGraph.BuildEmptyGraph().Services; }
protected override void afterRunning() { new FileSystem().DeleteFile(_file); FubuMode.Reset(); }
public void TearDown() { FubuMode.Reset(); server.SafeDispose(); }
public void SetUp() { FubuMode.Mode(FubuMode.Development); server = FubuApplication.DefaultPolicies().StructureMap().RunEmbedded(port: PortFinder.FindPort(5500)); }
public void precompile_views_not_in_development_mode() { FubuMode.Mode("Production"); ClassUnderTest.PrecompileViews.ShouldBeTrue(); }
public void do_not_precompile_when_in_development_mode() { FubuMode.Mode(FubuMode.Development); ClassUnderTest.PrecompileViews.ShouldBeFalse(); }