Sha256: c91d48140c6f539f1954a8b6a7d77c855060c4eb3528fa0564fdeaf1981df346

Contents?: true

Size: 401 Bytes

Versions: 4

Compression:

Stored size: 401 Bytes

Contents

require 'spec_helper'

module Tasuku
  describe Taskables::Image::Response do
    let(:user)     { create :user }
    let(:image) {fixture_file_upload('doge.jpg', 'image/jpeg')}

    it_behaves_like "trackable submission" do
      let!(:task) {create(:image_task)}
      let!(:subject) do
        create(:image_response, author: user, image: image, request: task.taskable)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tasuku-1.1.0 spec/models/tasuku/taskables/image/response_spec.rb
tasuku-1.0.1 spec/models/tasuku/taskables/image/response_spec.rb
tasuku-0.1.1 spec/models/tasuku/taskables/image/response_spec.rb
tasuku-0.1.0 spec/models/tasuku/taskables/image/response_spec.rb