Sha256: 7116119caf866e370ebfc7c91732eb830e850d53c0bca0fd77e41b208d1a2f3b
Contents?: true
Size: 365 Bytes
Versions: 10
Compression:
Stored size: 365 Bytes
Contents
require 'spec_helper' describe DirectoryController do it 'show action should render show template' do Locale.stubs(:find).returns(Locale.new :coordinates => [], :slug => 'foo') Locale.stubs(:us).returns([Locale.find]) Locale.any_instance.stubs(:children).returns([]) get :show, :slug => 'foo' response.should render_template(:show) end end
Version data entries
10 entries across 10 versions & 1 rubygems