bootstrap basic layout

This commit is contained in:
Min Zeya Phyo
2017-04-04 02:29:11 +06:30
parent 7595ed183b
commit aba3e52d0b
12 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
require 'rails_helper'
RSpec.describe HomeController, type: :controller do
describe "GET #index" do
it "returns http success" do
get :index
expect(response).to have_http_status(:success)
end
end
describe "GET #create" do
it "returns http success" do
get :create
expect(response).to have_http_status(:success)
end
end
describe "GET #destroy" do
it "returns http success" do
get :destroy
expect(response).to have_http_status(:success)
end
end
end