Sha256: bfedb335b3820ed4a6a7547ca0db326defcaf4616adf1eb5a4a45f1cc8f5daae
Contents?: true
Size: 594 Bytes
Versions: 15
Compression:
Stored size: 594 Bytes
Contents
require File.join(File.dirname(__FILE__),'..','..','spec_helper') describe "ApplicationController" do include_examples "SpecHelper" include Rack::Test::Methods include Rhoconnect def app @app = Rack::URLMap.new Rhoconnect.url_map end it "should process ApplicationController /login" do post "/rc/#{Rhoconnect::API_VERSION}/app/login", {"login" => 'testuser', "password" => ''}.to_json, {'CONTENT_TYPE'=>'application/json; charset=UTF-8'} last_response.status.should == 200 end it "should process ApplicationController /rps_login" do pending end end
Version data entries
15 entries across 15 versions & 1 rubygems