Sha256: 64970c2a4f2bc87fe058ee5c611b4159609af0b5f314c7258dc13faab8f0021a

Contents?: true

Size: 446 Bytes

Versions: 1

Compression:

Stored size: 446 Bytes

Contents

require 'spec_helper'

module Tasks
  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(
          :tasks_taskables_image_response, author: user,
          image: image, request: task.taskable
        )
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tasuku-0.0.1 spec/models/tasks/taskables/image/response_spec.rb