Sha256: 40d25fc41f2b0f976436fd60116eb6ae9db8854b9a19a00909728e75778031cb

Contents?: true

Size: 304 Bytes

Versions: 4

Compression:

Stored size: 304 Bytes

Contents

require 'spec_helper'

module Tasuku
  describe TasksController do
    routes { Tasuku::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

4 entries across 4 versions & 1 rubygems

Version Path
tasuku-1.1.0 spec/controllers/tasuku/tasks_controller_spec.rb
tasuku-1.0.1 spec/controllers/tasuku/tasks_controller_spec.rb
tasuku-0.1.1 spec/controllers/tasuku/tasks_controller_spec.rb
tasuku-0.1.0 spec/controllers/tasuku/tasks_controller_spec.rb