Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c28f53ea47
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (9 sloc) 0.302 kb
require 'spec_helper'
describe ProjectsController do
it "displays an error for a missing project" do
get :show, :id => "not-here"
response.should redirect_to(projects_path)
message = "The project you were looking for could not be found."
flash[:alert].should eql(message)
end
end
Jump to Line
Something went wrong with that request. Please try again.