Error in testing ruby on rails using rspec in tutorial
问题 I am newbie for ruby on rails i am just reading the http://ruby.railstutorial.org/chapters/static-pages#top as the tutorial saying, i have created the sample_app bundle or project. Now in section 3.2.1 i am testing the app. first i run the following from the cmd $ rails generate integration_test static_pages This created the static_pages_spec.rb in the spec/requests directory. Now add the following code in spec/requests/static_pages_spec.rb require 'spec_helper' describe "Static pages" do