Sha256: addf82c22c6eac6fee16fbfd0b4dd7e830f4b675e99271cce41e4d6ec965c7e3

Contents?: true

Size: 256 Bytes

Versions: 3

Compression:

Stored size: 256 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

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

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
chendo-rspec-haml-scaffold-generator-1.0.1 generators/rspec_haml_scaffold/templates/model_spec.rb
jeffkreeftmeijer-awesome_scaffold-0.0.0 lib/templates/model_spec.rb
jeffkreeftmeijer-awesome_scaffold-0.0.1 lib/templates/model_spec.rb