tack2us/spec/controllers/pastes_controller_spec.rb
Andrew Tomaka 5c49f8d25c Use spork instead of spring
Conflicts:
	Guardfile
	spec/spec_helper.rb
2014-02-14 15:54:53 -05:00

24 lines
500 B
Ruby

require 'spec_helper'
describe PastesController do
describe "GET #index" do
it "renders the :index template" do
get :index
expect(response).to render_template("index")
end
end
describe "GET #new" do
it "renders the :new template" do
get :new
expect(response).to render_template("new")
end
end
describe "GET #edit" do
it "renders the :edit template" do
get :edit, id: 1
expect(response).to render_template("edit")
end
end
end