Sha256: 49ca65ae1db0faad3f9224b66e28732346797f5254b6cdd330feb46f4b415a39

Contents?: true

Size: 752 Bytes

Versions: 17

Compression:

Stored size: 752 Bytes

Contents

# Project::    TheCity Admin API 
# File::       the_city.rb
#
# Author:: Wes Hays <weshays@gbdev.com> 
# Link:: https://github.com/weshays/admin-api-ruby
# Package:: TheCity::Admin


require File.expand_path( File.dirname(__FILE__) + '/../lib/the_city_admin.rb')

require 'rubygems'
require 'rspec'
require 'ruby-debug'
require 'date'

require 'factory_girl'
Dir.glob(File.dirname(__FILE__) + "/factories/*").each { |f| require f }


TheCityResponse = Struct.new(:code, :body, :headers)

RSpec.configure do |config|
  config.tty = true
  config.mock_with :rspec
  config.include FactoryGirl::Syntax::Methods
end


def simulate_connection_to_server
  @the_city = TheCity::AdminApi.new('cf2903151e3213e66fd8080c7d8b65b1d6ccdd31', '5c88b32edda7653c')
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
the-city-admin-0.7.0 spec/spec_helper.rb
the-city-admin-0.6.9 spec/spec_helper.rb
the-city-admin-0.6.8 spec/spec_helper.rb
the-city-admin-0.6.7 spec/spec_helper.rb
the-city-admin-0.6.6 spec/spec_helper.rb
the-city-admin-0.6.5 spec/spec_helper.rb
the-city-admin-0.6.4 spec/spec_helper.rb
the-city-admin-0.6.3 spec/spec_helper.rb
the-city-admin-0.6.2 spec/spec_helper.rb
the-city-admin-0.6.1 spec/spec_helper.rb
the-city-admin-0.6.0 spec/spec_helper.rb
the-city-admin-0.5.2 spec/spec_helper.rb
the-city-admin-0.5.1 spec/spec_helper.rb
the-city-admin-0.5.0 spec/spec_helper.rb
the-city-admin-0.4.0 spec/spec_helper.rb
the-city-admin-0.3.1 spec/spec_helper.rb
the-city-admin-0.3.0 spec/spec_helper.rb