wcc-data 0.3.3 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe WCC::Data do
4
-
5
- describe "::config" do
6
- it "returns a cached instance of Config" do
7
- config = WCC::Data.config
8
- expect(config).to be_a(WCC::Data::Config)
9
- expect(WCC::Data.config).to eq(config)
10
- end
11
- end
12
-
13
- describe "::setup" do
14
- it "yields to the provided block with config" do
15
- config = WCC::Data.config
16
- called = false
17
- WCC::Data.setup do |passed_config|
18
- called = true
19
- expect(passed_config).to eq(config)
20
- end
21
- expect(called).to be_truthy
22
- end
23
- end
24
-
25
- end