spec/grape/reload/dependency_map_spec.rb in grape-reload-0.0.3 vs spec/grape/reload/dependency_map_spec.rb in grape-reload-0.0.4
- old
+ new
@@ -40,11 +40,6 @@
allow(dm).to receive(:map).and_return(file_class_map)
dm.resolve_dependencies!
expect(dm.dependent_classes('file1')).to include('::Class2','::Class3')
end
-
- it "raises error if dependencies can't be resolved" do
- allow(dm).to receive(:map).and_return(wrong_class_map)
- expect { dm.resolve_dependencies! }.to raise_error(Grape::Reload::UnresolvedDependenciesError)
- end
end
\ No newline at end of file