Sha256: afb608f569758d02f889404362e4d6b6ed8b7c3e001ff0abc469e7cceb810c42

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

require 'spec_helper'

module Tasks
  describe TasksController do
    routes { Tasks::Engine.routes }

    describe "GET 'show'" do
      let(:task) { create :task }

      it "returns http success" do
        get 'show', id: task.id

        expect(response).to be_success
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tasuku-0.0.1 spec/controllers/tasks/tasks_controller_spec.rb