Sha256: ce82a783f944337ab5dee76009362ccdbb71b25be12ae8f93bea3a5747cb2b5b

Contents?: true

Size: 250 Bytes

Versions: 17

Compression:

Stored size: 250 Bytes

Contents

require 'rails_helper'
RSpec.describe <%= class_name %>, type: :model do
  it_behaves_like "a base model",
                  ransack_permitted_attributes: %w[<%= attributes_names.join(" ") %>],
                  ransack_permitted_associations: []
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
base_editing_bootstrap-1.3.0 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-1.2.0 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-1.1.0 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-1.0.0 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-0.16.1 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-0.16.0 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-0.15.0 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-0.14.0 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-0.13.0 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-0.12.0 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-0.11.0 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-0.10.2 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-0.10.1 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-0.10.0 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-0.9.1 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-0.9.0 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt
base_editing_bootstrap-0.8.0 lib/generators/base_editing_bootstrap/scaffold/templates/spec/model.rb.tt