Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

RSpec 1

Learn RSpec from the basics through advanced tools.

Intermediate
3h 5m
(7)

Created by Geoffrey Grosenbach

Last Updated Jun 28, 2019

Course Thumbnail
  • Course

RSpec 1

Learn RSpec from the basics through advanced tools.

Intermediate
3h 5m
(7)

Created by Geoffrey Grosenbach

Last Updated Jun 28, 2019

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

In the Basics module, learn how to install and configure RSpec. We'll walk through a simple project. Then we'll install RSpec in a Rails application and start writing examples for a simple model. The RSpec Mocks and Models module continues the project from part 1 but focuses on writing examples for ActiveRecord models. During the process you'll also learn about parsing XML with Hpricot! The Controllers and Tools module shows how to write behavior examples for Rails Controllers, Views, and Helpers. It finishes the application started at the beginning of this series.

RSpec 1
Intermediate
3h 5m
(7)
Table of contents

About the author
Geoffrey Grosenbach - Pluralsight course - RSpec 1
Geoffrey Grosenbach
53 courses 4.1 author rating 5333 ratings

Geoffrey founded PeepCode and has created numerous courses on Ruby, JavaScript and Shell.

Get started with Pluralsight