Sha256: 3c26dae06ce3655b9f59890b27b7094321582d0a28ba411d5d3599090309dffa

Contents?: true

Size: 316 Bytes

Versions: 14

Compression:

Stored size: 316 Bytes

Contents

if defined?(RSpec)
  task(:spec).clear

  desc 'Run all specs'
  RSpec::Core::RakeTask.new(:spec) do |t|
    t.rspec_opts = '--tag ~factory'
  end

  desc 'Run factory specs.'
  RSpec::Core::RakeTask.new(:factory_specs) do |t|
    t.pattern = './spec/models/factories_spec.rb'
  end

  task spec: :factory_specs
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
gb-firestarter-0.3.1 templates/factories_spec_rake_task.rb
gb-firestarter-0.3.0 templates/factories_spec_rake_task.rb
gb-firestarter-0.2.0 templates/factories_spec_rake_task.rb
gb-firestarter-0.1.0 templates/factories_spec_rake_task.rb
suspenders-1.9.2 templates/factories_spec_rake_task.rb
suspenders-1.9.1 templates/factories_spec_rake_task.rb
suspenders-1.9.0 templates/factories_spec_rake_task.rb
os_suspenders-1.8.5 templates/factories_spec_rake_task.rb
os_suspenders-1.8.4 templates/factories_spec_rake_task.rb
os_suspenders-1.8.3 templates/factories_spec_rake_task.rb
os_suspenders-1.8.2 templates/factories_spec_rake_task.rb
os_suspenders-0.0.1 templates/factories_spec_rake_task.rb
suspenders-1.8.1 templates/factories_spec_rake_task.rb
suspenders-1.8.0 templates/factories_spec_rake_task.rb