Simplify spec helper:
Move specific exception `SomeErrorInRecipe' in the only spec where it is used.
This commit is contained in:
@@ -2,8 +2,3 @@ require 'producer/core'
|
||||
|
||||
require 'support/exit_helpers'
|
||||
require 'support/fixtures_helpers'
|
||||
|
||||
|
||||
# Specific error thrown in the error fixture recipe, we can't define it in the
|
||||
# recipe, rspec wouldn't know about it.
|
||||
SomeErrorInRecipe = Class.new(RuntimeError)
|
||||
|
Reference in New Issue
Block a user