Sha256: 194e280a2a8abff07aff4aeb4848469e68d0dd4d13e032e6ec008214911d93bd

Contents?: true

Size: 261 Bytes

Versions: 7

Compression:

Stored size: 261 Bytes

Contents

require 'spec_helper'

describe Uploader::AttachmentsController do
  include Rack::Test::Methods
  
  def app
    Dummy::Application
  end
  
  it "should create new asset" do
    post "/uploader/attachments?"
    
    last_response.body.should == ""
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/spec/requests/attachments_controller_spec.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/spec/requests/attachments_controller_spec.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/spec/requests/attachments_controller_spec.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/spec/requests/attachments_controller_spec.rb
rails-uploader-0.0.3 spec/requests/attachments_controller_spec.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/spec/requests/attachments_controller_spec.rb
rails-uploader-0.0.1 spec/requests/attachments_controller_spec.rb