Sha256: 0282748a70207d565458cd39fa1326d2143f62e6ff87b737357bcdd2bf1d2cb9
Contents?: true
Size: 410 Bytes
Versions: 55
Compression:
Stored size: 410 Bytes
Contents
require 'rspec' require 'gnawrnip' namespace :rspec do def create_spec_task name, paths pattern = paths.collect {|path| "#{path}/**/*.feature" } rspec_opts = "--color -r turnip/rspec " desc 'Run turnip acceptance tests' RSpec::Core::RakeTask.new(name) do |t| t.pattern = pattern t.rspec_opts = rspec_opts end end create_spec_task :"acceptance", %w(spec/features) end
Version data entries
55 entries across 55 versions & 1 rubygems