require 'rails_helper'

RSpec.describe AssembliesController, type: :controller do

  # describe "GET #index" do
  #
  #   before(:each) do
  #     params = ActionController::Parameters.new( user_id: "1" )
  #   end
  #
  #   it "returns http success" do
  #     get :index
  #     expect(response).to have_http_status(:success)
  #   end
  # end

  # describe "POST #create" do
  #
  #   describe "new build" do
  #     before(:each) do
  #       params = ActionController::Parameters.new(name: "Michael", content: "{}", user_id: 1 );
  #     end
  #
  #     it "should make a new build" do
  #       post :create
  #       expect(response).to have_http_status(:success)
  #     end
  #   end
  #
  # end
  #
  # describe "POST #update" do
  #
  #   describe "update build" do
  #     before(:each) do
  #       params = ActionController::Parameters.new(name: "Michael", content: "{abc}", user_id: 1 );
  #     end
  #
  #     it "should make a new build" do
  #       post :update
  #       expect(response).to have_http_status(:success)
  #     end
  #   end
  # end
  #
  # describe "GET #show" do
  #   it "returns http success" do
  #     get :show
  #     expect(response).to have_http_status(:success)
  #   end
  # end

end
