Sha256: 1b9f4eb96aee1a53dd74c31691da05169cce0f9392845b9716f5e01a4ad22755
Contents?: true
Size: 697 Bytes
Versions: 1
Compression:
Stored size: 697 Bytes
Contents
require 'spec_helper' module Axel describe Configurator do its(:services) { should be_a Configurators::Services } it "adds a proxy url" do subject.set_proxy_url "http://some-proxy-url" subject.proxy.should be_an ApiProxy end it "adds a new service" do subject.add_service "new_service", "http://new-service" subject.service_configs[:new_service].url.should == "http://new-service" end its(:uses_rails_api?) { should be_falsey } context "rails api set" do it "uses_rails_api?" do subject.uses_rails_api = true subject.uses_rails_api?.should be_truthy subject.uses_rails_api = false end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axel-0.0.1 | spec/lib/axel/configurator_spec.rb |