Text Spec

An RSpec DSL and Cucumber steps to test SMS interactions with your Ruby on Rails application.

Setup

Gem Setup


group :test do
  gem 'test_spec'
end

Cucumber

Add the folloing to you env.rb file:


require 'text_spec'
require 'text_spec/cucubmber'

This loads the text_spec RSpec helpers into your cucumber wold. Then, run the following:


rails generate text_spec:steps