spec/unit/a9n_spec.rb in a9n-0.4.1 vs spec/unit/a9n_spec.rb in a9n-0.4.2
- old
+ new
@@ -1,16 +1,8 @@
require "spec_helper"
describe A9n do
subject { described_class }
-
- def clean_singleton(subject)
- subject.instance_variable_set(:@storage, nil)
- subject.instance_variable_set(:@env, nil)
- subject.root = nil
- subject.app = nil
- end
-
before { clean_singleton(subject) }
after { clean_singleton(subject) }
describe ".env" do
before do