mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
19 lines
304 B
Ruby
19 lines
304 B
Ruby
class PluginBuilder < Rails::PluginBuilder
|
|
def test
|
|
create_file "spec/spec_helper.rb"
|
|
append_file "Rakefile", <<-EOF
|
|
# spec tasks in rakefile
|
|
|
|
task :default => :spec
|
|
EOF
|
|
end
|
|
|
|
def generate_test_dummy
|
|
dummy_path("spec/dummy")
|
|
super
|
|
end
|
|
|
|
def skip_test_unit?
|
|
true
|
|
end
|
|
end
|