forked from jschementi/ironrubymvc
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nasty bug in RubyEngineSpec and RubyControllerFactorySpec.cs fixed. W…
…hen RubyEngine is created with RubyEngine.InitializeIronRubyMvc, the original IControllerFactory from MVC must be restored after every observation. Otherwise you get with every observation a chain of ControllerFactories with undeterminated behaviour. Tests in Path RubyControllerFactorySpec.cs refactored to reduce inheritance, and make the tests more straightward. RubyEngine.RequireRubyFile(path) implementation extended with use of PathProvider.MapPath. Empty RubyEngine constructor removed, no longer needed for xunit test.
- Loading branch information
Showing
4 changed files
with
275 additions
and
266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.