Show
Destroy
An entry
Get it down. Make it good. Share it.
Title
Text
RSpec is a Ruby library designed for creating Specifications, to test the intended behavior of Ruby code. Unit-test your code =) So, RSpec files follow a basic format, and understanding this format can help make test-writing easier. context describe ... Feature before ... specify object state it ... verify Behavior repeat =) Using the 'context' or 'describe' command, describe a Feature context "on homepage" do describe "the sign-up process" do before do # create User # specify website basics, generate Companies for Apartment, etc.
Status
idea
draft
release
personal
Series
Part of a Series?
Bitcoin
On Work
Phoenix Trello Tutorial
Civics
Re Email Address
Tags
rspec
×
unittesting
×
programming
×
notes
×
+
Slug
Url
Image 1
Image 2
Image 3
Visible
Date