Sha256: bd22b2dcf8567067a3c0dc022a169c697d7c105e1e4d5f509fad939f916bf1d0
Contents?: true
Size: 433 Bytes
Versions: 2
Compression:
Stored size: 433 Bytes
Contents
require 'rails_helper' RSpec.describe Sequent::CommandsController, type: :controller do routes { Sequent::Engine.routes } describe "GET #show" do it "returns http success" do Sequent.command_service.execute_commands SomeCommand.new(some_value: 1, aggregate_id: 'gaargergtte') get :show, params: { id: Sequent::Core::CommandRecord.last.id } expect(response).to have_http_status(:success) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sequent-rails-0.1.1 | spec/controllers/sequent/commands_controller_spec.rb |
sequent-rails-0.1.0 | spec/controllers/sequent/commands_controller_spec.rb |