File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,15 @@ task :rake_only => [:verify_rspec_specs,
21
21
22
22
desc 'Sanity checks a given version of MRI and run a basic check'
23
23
task :mri_sanity_check => [ :unit_specs ,
24
- :integration_specs ]
24
+ :integration_specs ,
25
+ :verify_rake_requires ]
26
+
27
+ desc 'Runs Rake via shell to verify requires without all of our test requires'
28
+ task :verify_rake_requires do
29
+ Dir . chdir 'spec/other' do
30
+ sh 'rake'
31
+ end
32
+ end
25
33
26
34
desc 'Runs a set of specs in opal'
27
35
Opal ::RSpec ::RakeTask . new ( :opal_specs ) do |_ , task |
Original file line number Diff line number Diff line change
1
+ # test Rakefile for running standalone
2
+ require 'opal/rspec/rake_task'
3
+
4
+ Opal ::RSpec ::RakeTask . new ( :default ) do |_ , task |
5
+ task . pattern = '*_spec.rb'
6
+ # Node code path has more dependencies
7
+ task . runner = :node
8
+ end
You can’t perform that action at this time.
0 commit comments