This repository was archived by the owner on Oct 19, 2018. It is now read-only.
File tree 2 files changed +5
-31
lines changed
2 files changed +5
-31
lines changed Original file line number Diff line number Diff line change 1
1
require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
2
3
3
- require 'bundler'
4
- Bundler . require
5
- Bundler ::GemHelper . install_tasks
4
+ RSpec ::Core ::RakeTask . new ( :spec )
6
5
7
-
8
- require 'rspec/core/rake_task'
9
- require 'opal/rspec/rake_task'
10
-
11
- RSpec ::Core ::RakeTask . new ( 'ruby:rspec' ) do |s |
12
- s . rspec_opts = "--tag ruby"
13
- end
14
- Opal ::RSpec ::RakeTask . new ( 'opal:rspec' ) do |s |
15
- s . append_path 'spec/vendor'
16
- s . index_path = 'spec/index.html.erb'
17
- end
18
-
19
- task :test do
20
- Rake ::Task [ 'ruby:rspec' ] . invoke
21
- Rake ::Task [ 'opal:rspec' ] . invoke
22
- end
23
-
24
- require 'generators/reactive_ruby/test_app/test_app_generator'
25
- desc "Generates a dummy app for testing"
26
- task :test_app do
27
- ReactiveRuby ::TestAppGenerator . start
28
- puts "Setting up test app database..."
29
- system ( "bundle exec rake db:drop db:create db:migrate > #{ File ::NULL } " )
30
- end
31
-
32
- task default : [ :test ]
6
+ task :default => :spec
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
export HYPER_DEV_GEM_SOURCE=' https://gems.ruby-hyperloop.org'
3
3
export RAILS_ENV=" test"
4
- bundle install
4
+ bundle update
5
5
cd spec/test_app
6
- bundle install
6
+ bundle update
7
7
cd ../..
You can’t perform that action at this time.
0 commit comments