Sha256: 5e20cfc491f9d8bd10ef20d99e25ca4d45e4de8c961205ae8bcf856397305a85
Contents?: true
Size: 966 Bytes
Versions: 1
Compression:
Stored size: 966 Bytes
Contents
Feature: In order to easily generate recurrence interfaces with their complex rest logic As a user of Rails3 I would like to use recurs generators Scenario: The recurs generators create a recurs scaffold for each model that I generate with a recurs generator Given I run "rails new test_app" And I cd to "test_app" And a file named "Gemfile" with: """ source "http://rubygems.org" gem 'rails', '3.0.0' gem 'sqlite3-ruby', :require => 'sqlite3' gem 'recurs', :path => '../../../' """ And I run "bundle install" And I run "rails generate recurs_widget Event" And I run "rake db:migrate" And the following files should exist: | app/models/event.rb | | app/views/events/index.html.haml | | app/views/events/new.html.haml | | app/views/events/edit.html.haml | | app/views/events/_form.html.haml | And the following files should not exist: | test/fixtures/users.yml |
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
recurs-0.0.4.1 | features/generators.feature |