File tree Expand file tree Collapse file tree 4 files changed +11
-9
lines changed
Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ before_install:
3434- bundle install
3535install :
3636- bazel $BAZEL_OPTS build $BAZEL_BUILD_OPTS --show_progress_rate_limit 0 -- //...
37- - (cd examples && bazel $BAZEL_OPTS build $BAZEL_BUILD_OPTS --show_progress_rate_limit 0 -- //...)
37+ - (cd examples/simple_script && bazel $BAZEL_OPTS build $BAZEL_BUILD_OPTS --show_progress_rate_limit 0 -- //...)
3838script :
3939- bazel $BAZEL_OPTS test $BAZEL_BUILD_OPTS --show_progress_rate_limit 0 --test_output=streamed -- //...
40- - (cd examples && bazel $BAZEL_OPTS test $BAZEL_BUILD_OPTS --show_progress_rate_limit 0 --test_output=streamed -- //...)
40+ - (cd examples/simple_script && bazel $BAZEL_OPTS test $BAZEL_BUILD_OPTS --show_progress_rate_limit 0 --test_output=streamed -- //...)
4141# If this fails run `bazel run :buildifier`
4242- bazel run :buildifier-check
4343# If this fails run `bundle exec rubocop -a`
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -17,9 +17,12 @@ ruby_binary(
1717)
1818
1919ruby_test (
20- name = "default_test" ,
21- srcs = ["script_spec.rb" ],
22- main = "script_spec.rb" ,
20+ name = "script_spec" ,
21+ srcs = [
22+ "script.rb" ,
23+ "spec/script_spec.rb" ,
24+ ],
25+ main = "spec/script_spec.rb" ,
2326 rubyopt = ["-rrspec/autorun" ], # require autorun because it is needed
2427 deps = [
2528 "//lib:foo" ,
Original file line number Diff line number Diff line change 3232
3333require_relative '../script'
3434
35- describe OSSRand do
36- it begin
37- expect ( oss_rand ) . to be String
35+ describe 'oss_rand' do
36+ it 'generates a String' do
37+ expect ( oss_rand ) . to be_a_kind_of String
3838 end
3939end
You can’t perform that action at this time.
0 commit comments