spec/commands/add_spec.rb in tiny-rails-0.0.2 vs spec/commands/add_spec.rb in tiny-rails-0.1.0
- old
+ new
@@ -1,13 +1,12 @@
require 'spec_helper'
-# TODO: Move these specs to spec/actions_spec.rb
describe TinyRails::Commands::Add do
before do
Dir.exist?('.tmp') ? FileUtils.rm_rf('.tmp/*') : Dir.mkdir('.tmp')
@original_wd = Dir.pwd
FileUtils.cd '.tmp'
- %w(.gitignore tiny_rails_controller.rb boot.rb Gemfile).each do |file|
+ %w(.gitignore application_controller.rb boot.rb Gemfile).each do |file|
`touch #{file}`
end
end
after { FileUtils.cd @original_wd }