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.
- checksums.yaml +4 -4
- data/lib/wcc/data/nucleus/campus.rb +25 -3
- data/lib/wcc/data/version.rb +1 -1
- data/wcc-data.gemspec +2 -3
- metadata +9 -49
- data/.env.example +0 -3
- data/.gitignore +0 -18
- data/.rspec +0 -2
- data/Gemfile +0 -6
- data/Rakefile +0 -36
- data/bin/rspec +0 -17
- data/circle.yml +0 -6
- data/spec/spec_helper.rb +0 -24
- data/spec/support/inheritable_class_attribute_examples.rb +0 -16
- data/spec/wcc/data/config_spec.rb +0 -113
- data/spec/wcc/data/enumerated_type_spec.rb +0 -176
- data/spec/wcc/data/faraday_client_app_token_auth_spec.rb +0 -237
- data/spec/wcc/data/mapper/attributes_spec.rb +0 -94
- data/spec/wcc/data/mapper/json_response_spec.rb +0 -57
- data/spec/wcc/data/mapper/rest_configuration_spec.rb +0 -43
- data/spec/wcc/data/mapper/rest_query_spec.rb +0 -50
- data/spec/wcc/data/model_spec.rb +0 -33
- data/spec/wcc/data/nucleus/campus_spec.rb +0 -34
- data/spec/wcc/data/rack_client_app_token_auth_spec.rb +0 -219
- data/spec/wcc/data/response_spec.rb +0 -57
- data/spec/wcc/data/rest_endpoint_spec.rb +0 -71
- data/spec/wcc/data/service_spec.rb +0 -128
- data/spec/wcc/data_spec.rb +0 -25
data/spec/wcc/data_spec.rb
DELETED
@@ -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
|