hassox (owner)

Fork Of

Revisions

gist: 141843 Download_button fork
public
Public Clone URL: git://gist.github.com/141843.git
Embed All Files: show embed
homepage_spec.rb #
1
2
3
4
5
6
7
8
9
10
11
12
require File.dirname(__FILE__) + '/../spec_helper'
 
def app
  ActionController::Dispatcher.new
end
 
describe "the homepage" do
  it "shouldn't crap out" do
    get '/'
    last_response.should be_ok
  end
end
Text only #
1
2
3
4
5
6
# spec helper
 
Spec::Runner.configure do |config|
  # snip
  config.include(Rack::Test::Methods)
end