2013-08-29から1日間の記事一覧
以前RSpecの拡張の練習がてら、こういうのを require 'spec_helper' describe Api::SpotsController do describe "GET 'index'" do it "returns http success" do get 'index', format: 'json' response.should be_success end end describe "GET 'show'" do…
以前RSpecの拡張の練習がてら、こういうのを require 'spec_helper' describe Api::SpotsController do describe "GET 'index'" do it "returns http success" do get 'index', format: 'json' response.should be_success end end describe "GET 'show'" do…