Installing Rspec into Sinatra with Rake
in your project directory
#Update the Gemfile
#Update the Rakefile
#Create a .rspec file
#Follow the Instructions
Instructions
# run the bundle command
$ bundle
# .rspec file
$ echo "--color" >> .rspec
$ echo "--backtrace" >> .rspec
# .rspec file
$ echo "--color" >> .rspec
$ echo "--backtrace" >> .rspec
# spec directory
$ mkdir spec
$ touch spec/spec_helper.rb
# Update spec/spec_helper.rb to match file in gist.
# mkdir spec/sample
$ touch spec/sample/instance_variable_spec.rb
# update spec/sample/instance_variable_spec.rb to match file in gist