Sha256: b47d88c4923ff9ed793d999a992378982e26b3474763cc69982d4f3ec7df56a4
Contents?: true
Size: 638 Bytes
Versions: 8
Compression:
Stored size: 638 Bytes
Contents
require File.join(File.dirname(__FILE__),'..','..','spec_helper') describe "ApplicationController" do it_should_behave_like "SpecHelper" do 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 end
Version data entries
8 entries across 8 versions & 1 rubygems