Sha256: 02724c3dcb5f0cdccb873d7bd79473e0fca0aae49c17e7ad261cc495e06a4bc0
Contents?: true
Size: 471 Bytes
Versions: 24
Compression:
Stored size: 471 Bytes
Contents
# encoding: utf-8 require_relative "../spec_helper.rb" describe <%= @name.camel_case %> do include <%= @name.camel_case %> <% @models.each do |model| %> describe <%= model.camel_case %> do before(:each) do @<%= model %> = <%= model.camel_case %>.new end it "should have a title" do @<%= model %>.should respond_to(:title) end it "should have a slug" do @<%= model %>.should respond_to(:slug) end end <% end %> end
Version data entries
24 entries across 24 versions & 1 rubygems