Subscribe

higepon blog

Entries from 2013-07-09 to 1 day

2013-07-09

File upload test on Rails3 + RSpec + json_spec

rails

require 'spec_helper' describe PhotosController do before do @file = Rack::Test::UploadedFile.new('spec/fixtures/keiko.jpg', 'image/jpg') end it "should get index" do request.accept = "application/json" get 'index' response.should be_succe…

Hatena Bookmark -  File upload test on Rails3 + RSpec  + json_spec
Profile
id:higepon id:higepon
Subscribed unsubscribe Subscribe Subscribe
About this blog
Search
Links
  • Hatena Blog
  • ブログをはじめる
  • Weekly Hatena Blog
  • Hatena Blog Pro
Recent Entries
  • The Rust Programming Language を読んだ - 2022夏休み
  • データ解釈学入門を読んだ - 2022 夏休み
  • Bitcoin and Cryptocurrency Technologies を履修した - 2022 夏休み
  • Mosh の Apple Silicon 対応 - 2022夏休み
  • Machine Learning Design Patterns
Archive
higepon blog higepon blog

Powered by Hatena Blog | ブログを報告する

Quote saved.

Login to quote this blog

Failed to save quote. Please try again later.

You cannot quote because this article is private.

Subscribed unsubscribe Subscribe Subscribe