Sha256: 50c86091c65be7f522a967337d23f22f1b8b09180285e42278afa7a5028265a7

Contents?: true

Size: 505 Bytes

Versions: 94

Compression:

Stored size: 505 Bytes

Contents

begin
  if defined? RSpec # otherwise fails on non-live environments
    task(:spec).clear
    desc "Run all specs/features in spec directory"
    RSpec::Core::RakeTask.new(:spec => 'db:test:prepare') do |t|
      t.pattern = './spec/{,**/}*{_spec.rb,.feature}'
    end

    namespace :spec do
      desc "Run the code examples in spec/acceptance"
      RSpec::Core::RakeTask.new(:acceptance => 'db:test:prepare') do |t|
        t.pattern = './spec/acceptance/{,**/}*.feature'
      end
    end
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
smalruby-editor-0.4.1-x86-mingw32 lib/tasks/rspec.rake
smalruby-editor-0.4.2-x86-mingw32 lib/tasks/rspec.rake
smalruby-editor-0.4.2 lib/tasks/rspec.rake
smalruby-editor-0.4.1 lib/tasks/rspec.rake
smalruby-editor-0.4.0-x86-mingw32 lib/tasks/rspec.rake
smalruby-editor-0.4.0 lib/tasks/rspec.rake
smalruby-editor-0.3.5-x86-mingw32 lib/tasks/rspec.rake
smalruby-editor-0.3.5 lib/tasks/rspec.rake
smalruby-editor-0.3.4-x86-mingw32 lib/tasks/rspec.rake
smalruby-editor-0.3.4 lib/tasks/rspec.rake
smalruby-editor-0.3.3-x86-mingw32 lib/tasks/rspec.rake
smalruby-editor-0.3.3 lib/tasks/rspec.rake
smalruby-editor-0.3.2-x86-mingw32 lib/tasks/rspec.rake
smalruby-editor-0.3.2 lib/tasks/rspec.rake
smalruby-editor-0.3.1-x86-mingw32 lib/tasks/rspec.rake
smalruby-editor-0.3.1 lib/tasks/rspec.rake
smalruby-editor-0.3.0-x86-mingw32 lib/tasks/rspec.rake
smalruby-editor-0.3.0 lib/tasks/rspec.rake
smalruby-editor-0.2.7-x86-mingw32 lib/tasks/rspec.rake
smalruby-editor-0.2.7 lib/tasks/rspec.rake