Hello World from OSS Silicon Valley


HowToUse/RubyOnRails/4.2/RSpec/3.4


  • The added line is THIS COLOR.
  • The deleted line is THIS COLOR.
#contents

*Prerequisite [#padb2cbe]
-Rails installation (You can refer [[HowToUse/RubyOnRails/4.2]])

*Install&Setup [#obc36972]
:Step.1|
Edit Gemfile.

 group :development, :test do
   gem 'rspec-rails'
 end

:Step.2|
Install rspec-rails.

 $ bundle install


*HowToUse [#r2e0b857]
:Step.1|
Generate spec files.

 $ rails generate rspec:install

:Step.2|
Prepare spec file.

:Step.3|
Execute rspec.

 $ rspec


*Author [#ra62a8f6]
S.Yatsuzuka