Sha256: 31612845593cdef6cdfb498ff5a04f7e0d7c5de71f9e96d00332d3e71472b11d
Contents?: true
Size: 312 Bytes
Versions: 5
Compression:
Stored size: 312 Bytes
Contents
require 'spec_helper' require 'rspec/mocks' require 'rspec/mocks/standalone' describe Spud::ApplicationController do describe :not_found do it 'throws a 404 error' do get :not_found response.code.should eq("404") response.should render_template('layouts/error_page') end end end
Version data entries
5 entries across 5 versions & 1 rubygems