aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/fixtures/lib/plugin_builders/spec_builder.rb
blob: aa18c7ddaa67b053e75ba0ffafc239c6fe33fc8c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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