Sha256: db97e55c685a2d91a9a318fd5f8554bd604b66512bcaf865c0b9c0aa0e2fceb8
Contents?: true
Size: 556 Bytes
Versions: 11
Compression:
Stored size: 556 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe CloudApp do it "should set correct headers" do CloudApp::HEADERS['User-Agent'].should == "Ruby.CloudApp.API" CloudApp::HEADERS['Accept'].should == "application/json" CloudApp::HEADERS['Content-Type'].should == "application/json" end it "should be authenticatable" do auth = { :username => "testuser@test.com", :password => "password" } CloudApp.authenticate(auth[:username], auth[:password]).should == auth end end
Version data entries
11 entries across 11 versions & 1 rubygems