Sha256: f3203d38786a340f6085eceea58b680e9a99af082033eb90b00034205700f803

Contents?: true

Size: 262 Bytes

Versions: 279

Compression:

Stored size: 262 Bytes

Contents

require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../spec_helper'

describe <%= class_name %> do
  before(:each) do
    @<%= file_name %> = <%= class_name %>.new
  end

  it "should be valid" do
    @<%= file_name %>.should be_valid
  end
end

Version data entries

279 entries across 272 versions & 13 rubygems

Version Path
trusty-cms-6.3.1 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-7.0.2 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-7.0.1 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-7.0.0 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-6.3 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-6.2.1 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-6.2.2.1 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-6.2.0 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-6.1.2 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-6.1.1 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-6.0.5 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-6.0.4 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-6.0.3 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-6.0.2 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-6.0.1 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-5.6.1 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-6.0.0 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-5.6.0 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-5.5.9 lib/generators/extension_model/templates/model_spec.rb
trusty-cms-5.5.8 lib/generators/extension_model/templates/model_spec.rb