Enable spec files to be executed alone

This fixes the annoying error

```
NameError:
  uninitialized constant OrderManagement::Subscriptions::Whatever
```

and let's you execute the spec file in isolation. It slows down way too
much having the run the entire engine test suite while developing. And
it makes me nervous too.
This commit is contained in:
Pau Perez
2020-05-22 15:54:30 +02:00
parent e339a37cd5
commit d9686d6982
4 changed files with 8 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
# frozen_string_literal: true
require 'spec_helper'
module OrderManagement
module Subscriptions
describe Count do

View File

@@ -1,5 +1,7 @@
# frozen_string_literal: true
require 'spec_helper'
module OrderManagement
module Subscriptions
describe Estimator do

View File

@@ -1,5 +1,7 @@
# frozen_string_literal: true
require 'spec_helper'
module OrderManagement
module Subscriptions
describe ProxyOrderSyncer do

View File

@@ -1,5 +1,7 @@
# frozen_string_literal: true
require 'spec_helper'
module OrderManagement
module Subscriptions
describe Summary do