Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c363ac
commit f307534
Showing
13 changed files
with
161 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
source/_posts/2011-09-23-rspec-and-rails-3-dot-1-basics.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
layout: post | ||
title: "Rspec and Rails 3.1 Basics" | ||
date: 2011-09-23 06:09 | ||
comments: true | ||
categories: | ||
--- | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="sixcol"> </div> | ||
<div class="sixcol last"> | ||
<h1 class="main-head">Hooking into rspec driven development with Rails 3.1</h1> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="container padding40"> | ||
<div class="row"> | ||
<h2>Getting Started with RSpec</h2> | ||
<div class="eightcol"> | ||
<pre> | ||
group :test, :development do | ||
gem 'rspec-rails' | ||
end | ||
|
||
group :test do | ||
gem 'cucumber-rails' | ||
gem 'capybara' | ||
gem 'database_cleaner' | ||
end | ||
</pre> | ||
|
||
<p class="para"> | ||
After doing <code>bundle install</code>, it is time to use the built in generator that comes with rspec. | ||
</p> | ||
<pre> | ||
rails g rspec:install | ||
rails g cucumber:install | ||
</pre> | ||
</div> | ||
<div class="fourcol last"></div> | ||
</div> | ||
</div> | ||
|
||
|
44 changes: 44 additions & 0 deletions
44
source/_posts/2011-09-23-rspec-and-rails-3-dot-1-basics.markdown~
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
layout: post | ||
title: "Rspec and Rails 3.1 Basics" | ||
date: 2011-09-23 06:09 | ||
comments: true | ||
categories: | ||
--- | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="sixcol"> </div> | ||
<div class="sixcol last"> | ||
<h1 class="main-head">Hooking into rspec driven development with Rails 3.1</h1> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="container padding40"> | ||
<div class="row"> | ||
<h2>Getting Started with RSpec</h2> | ||
<div class="eightcol"> | ||
<pre> | ||
group :test, :development do | ||
gem 'rspec-rails' | ||
end | ||
|
||
group :test do | ||
gem 'cucumber-rails' | ||
gem 'capybara' | ||
gem 'database_cleaner' | ||
end | ||
</pre> | ||
|
||
<p class="para"> | ||
After doing <code>bundle install</code>, it is time to use the built in generator that comes with rspec. | ||
</p> | ||
<pre> | ||
rails g rspec:install | ||
</pre> | ||
</div> | ||
<div class="fourcol last"></div> | ||
</div> | ||
</div> | ||
|
||
|
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.