疯狂木乃伊

2023-09-11更新 / 3.0分 / 惊悚,恐怖 / 美国 / 2007

聚合云播

排序

疯狂木乃伊剧情简介

" params[:is_edit_textarea] = false params[:user_id] = "shenjun" put :create, params JSON.parse(response.body) } it "should return article" do article = Article.find_by(title: params[:title]) expect(response_json["id"]).to eq article.id end end context "update" do before{ params[:id] = article.id put :update, params JSON.parse(response.body) } it "should return article" do article = Article.find_by(title: params[:title]) expect(response_json["id"]).to eq article.id end end context "delete" do before{ params[:id] = article.id delete :destroy, params JSON.parse(response.body) } it "should return article" do article = Article.find_by(title: params[:title]) expect(article).to eq nil end end context "index" do before{ get :index JSON.parse(response.body) } it "should return articles" do expect(response_json[0]["title"]).to eq article.title end end context "show" do before{ params[:id] = article.id get :show, params JSON.parse(response.body) } it "should return article" do expect(response_json["title"]).to eq article.title end end endend

猜你喜欢

直播惊魂夜

2024/中国大陆/恐怖

Snakeeater

2024/美国/恐怖

古曼童

2024/菲律宾/惊悚,恐怖

异种4

5.1 2007/美国/科幻,惊悚,恐怖

共犯者

5.7 2015/日本/悬疑