Sha256: f8970205a7ab6e3ad1a2f3eb0a5805cbd50689f5c09ea228999eeb45105fef8b
Contents?: true
Size: 552 Bytes
Versions: 6
Compression:
Stored size: 552 Bytes
Contents
require_relative '../spec_helper' describe Activity do describe ".service proxy" do before { @original = RestPack::Activity.config.service_type } after { RestPack::Activity.config.service_type = @original } it "resolves :local proxy" do RestPack::Activity.config.service_type = :local Activity.service.should == RestPack::Activity::Proxies::Local end it "resolves :api proxy" do RestPack::Activity.config.service_type = :api Activity.service.should == RestPack::Activity::Proxies::Api end end end
Version data entries
6 entries across 6 versions & 1 rubygems