Skip to content

Instantly share code, notes, and snippets.

@burtlo
Forked from kwerle/content_controller_spec.rb
Created April 28, 2011 17:27
Show Gist options
  • Save burtlo/946811 to your computer and use it in GitHub Desktop.
Save burtlo/946811 to your computer and use it in GitHub Desktop.
spec/controllers/content_controller_spec.rb
require 'spec_helper'
describe ContentController, :type => :controller do
integrate_views
describe "root" do
it "should work" do
get :index
end
end
end
# encoding: utf-8
# This file is copied to ~/spec when you run 'ruby script/generate rspec'
# from the project root directory.
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path(File.join(File.dirname(__FILE__),'..','config','environment'))
require 'spec/autorun'
require 'spec/rails'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment