Sha256: 7d8a5014d54e6fb93de26405e6c2711ad0e2a1d35c51944e531ef4a038a6ec4e
Contents?: true
Size: 523 Bytes
Versions: 41
Compression:
Stored size: 523 Bytes
Contents
require 'spec_helper' class StubApplicationDomainController < Iugu::ApplicationDomainController def index render :text => "true", :status => 200 end end describe StubApplicationDomainController do def with_stub_routing with_routing do |map| map.draw do match '/stub/application/domain/index' => "stub_application_domain#index" end yield end end it 'should be_success' do with_stub_routing do get :index end response.should be_success end end
Version data entries
41 entries across 41 versions & 1 rubygems