Skip to content

Commit

Permalink
Recipe for Remarkable
Browse files Browse the repository at this point in the history
  • Loading branch information
kfaustino committed Jul 22, 2010
1 parent cbf67f0 commit 4016f8e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -29,6 +29,7 @@ Rails Templater will generate the following:

* [RSpec](http://github.com/rspec/rspec) for testing
* [factory_girl](http://github.com/thoughtbot/factory_girl) for fixture replacement
* [remarkable](http://github.com/remarkable/remarkable) for ActiveModel RSpec matchers
* Optionally uses [Cucumber](http://github.com/aslakhellesoy/cucumber-rails) for integration tests

## Note on Patches/Pull Requests
Expand Down
6 changes: 6 additions & 0 deletions recipes/remarkable.rb
@@ -0,0 +1,6 @@
gem 'remarkable_activemodel', '>=4.0.0.alpha4', :group => :test
gem 'remarkable_mongoid', :group => :test

stategies << lambda do
inject_into_file 'spec/spec_helper.rb', "\nrequire 'remarkable/active_model'\nrequire 'remarkable/mongoid'", :after => "require 'rspec/rails'"
end
2 changes: 1 addition & 1 deletion templater.rb
Expand Up @@ -2,7 +2,7 @@

initialize_templater

required_recipes = %w(default jquery mongoid haml rspec factory_girl)
required_recipes = %w(default jquery mongoid haml rspec factory_girl remarkable)
required_recipes.each {|required_recipe| apply recipe(required_recipe)}

load_options
Expand Down

0 comments on commit 4016f8e

Please sign in to comment.