Sha256: 0cc85004672c7b03b61c2ef3c130336ba8ec58f81fca8ddba7d19c38e1a4671d

Contents?: true

Size: 600 Bytes

Versions: 12

Compression:

Stored size: 600 Bytes

Contents

require File.join(File.dirname(__FILE__), 'config', 'boot')

import File.join(RADIANT_ROOT, 'Rakefile')

begin
  require 'cucumber/rake/task'

  Cucumber::Rake::Task.new(:metry_features) do |t|
    t.fork = true
    t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'pretty')]
  end
  task :metry_features => ['cucumber', 'db:test:prepare']
  task :cucumber do
    ENV["RAILS_ENV"] = "cucumber"
  end
rescue LoadError
  desc 'Cucumber rake task not available'
  task :metry_features do
    abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin'
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
metry-2.0.4 radiant/example/Rakefile
metry-2.0.5 radiant/example/Rakefile
metry-2.1.0 radiant/example/Rakefile
metry-2.1.1 radiant/example/Rakefile
metry-2.0.0 radiant/example/Rakefile
metry-2.0.1 radiant/example/Rakefile
metry-2.0.2 radiant/example/Rakefile
metry-2.0.3 radiant/example/Rakefile
metry-1.0.0 radiant/example/Rakefile
metry-1.0.1 radiant/example/Rakefile
metry-1.1.0 radiant/example/Rakefile
metry-1.2.0 radiant/example/Rakefile