当前位置 首页 恐怖 《疯狂木乃伊》

疯狂木乃伊

类型:惊悚 恐怖  美国  2007 

主演:Ben·Stewart Elissa·Dowling Jaquelyn 

导演:Max·Nikoff 

在线播放,无需安装播放器

聚合云播

剧情简介

" 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

猜你喜欢

影片评论

Copyright © 2025