First create generator and datasource entry in your .prisma
file like below:
generator client {
provider = "prisma-client-js"
}
ffplay -f video4linux2 -video_size 640x480 -i /dev/video0 -vf "fade=in:0:20=out:400:40:alpha=1" | |
ffplay -f video4linux2 -video_size 640x480 -i /dev/video0 -vf "[0:v]eq=contrast=1:brightness=0:saturation=1:gamma=1" | |
========================= Working | |
ffplay -f video4linux2 -video_size 640x480 -i /dev/video0 -vf "eq=contrast=1.5:brightness=-0.05:saturation=0.75" | |
============================== | |
# Model | |
expect(@user).to have(1).error_on(:username) # checks whether there is an error in username | |
expect(@user.errors[:username]).to include("can't be blank") # check for the error message | |
# Rendering | |
expect(response).to render_template(:index) | |
# Redirecting |
require 'rails_helper' | |
RSpec.describe TodosController, :type => :controller do | |
context "GET index" do | |
#context "POST create" do | |
#context "GET show" do | |
#context "PATCH update" do (or PUT update) | |
#context "DELETE destroy" do | |
#context "GET new" do |