Sha256: 5a1797952fde13f6941bf11247eb1d7f19413cef2b5ad90410c7057761aab2a2
Contents?: true
Size: 437 Bytes
Versions: 1
Compression:
Stored size: 437 Bytes
Contents
require 'spec_helper' module Axel module Configurations describe Resource do subject { Resource.new name, service } let(:service) { Service.new(:user_service, "http://localhost") } let(:name) { :users } its(:name) { should == "user" } its(:base_url) { should == "http://localhost" } its(:path) { should == "users" } its(:full_url) { should == "http://localhost/users" } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axel-0.0.1 | spec/lib/axel/configurations/resource_spec.rb |