Sha256: ab8fb373659b431d5da21a34a130cd8a277427cfe6a6dd16c40e48d06025dc85

Contents?: true

Size: 447 Bytes

Versions: 1

Compression:

Stored size: 447 Bytes

Contents

require 'spec_helper'
require 'lib/test_class'
require 'lib/github_commits'

describe "ApiQueryProvider::Provider" do
  it "should not replace api_url and api_path of two classes" do
    TestClass.api_url.should == "http://example.com"
    TestClass.api_path.should == "/foo/:id/id"
    
    GithubCommits.api_url.should == "http://github.com/api/v2/json/"
    GithubCommits.api_path.should == "commits/list/:user_id/:repository/:branch"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
api-query-provider-0.0.1 spec/attr_spec.rb