Sha256: b0d722ba96074fbd1a9ce42d87d05f75eed2f7d4ec8315326e4cc8fe1b6e921d

Contents?: true

Size: 295 Bytes

Versions: 11

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

describe <%= service_name.classify %>::Commands::<%= @test %>, type: :model do
  describe 'attrubites' do
    it { expect(subject).to respond_to(:EX) }
  end

  describe 'validatios' do
    it { should validate_presence_of(:EX) }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
command_service_object-1.4.0 lib/generators/service/command/templates/command_spec.rb.erb
command_service_object-1.3.0 lib/generators/service/command/templates/command_spec.rb.erb
command_service_object-1.2.1 lib/generators/service/command/templates/command_spec.rb.erb
command_service_object-1.1.1 lib/generators/service/command/templates/command_spec.rb.erb
command_service_object-1.1.0 lib/generators/service/command/templates/command_spec.rb.erb
command_service_object-1.0.0 lib/generators/service/command/templates/command_spec.rb.erb
command_service_object-0.6.5 lib/generators/service/test/templates/rspec/command.rb.erb
command_service_object-0.6.4 lib/generators/service/test/templates/rspec/command.rb.erb
command_service_object-0.6.3 lib/generators/service/test/templates/rspec/command.rb.erb
command_service_object-0.6.2 lib/generators/service/test/templates/rspec/command.rb.erb
command_service_object-0.6.1 lib/generators/service/test/templates/rspec/command.rb.erb