Skip to content

Commit

Permalink
fixed path to rspec in tests
Browse files Browse the repository at this point in the history
to avoid "/usr/bin/rspec: bad interpreter: No such file or directory"
error at Travis builds
  • Loading branch information
lslezak committed Oct 20, 2014
1 parent 182a0c3 commit c013887
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion library/general/test/linuxrc_test.rb
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

require File.expand_path("../test_helper.rb", __FILE__)

Expand Down
2 changes: 1 addition & 1 deletion library/network/test/load_ipv6_cfg_test.rb
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/network/test/network_interfaces_helpers_test.rb
@@ -1,4 +1,4 @@
#!/usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/network/test/susefirewall_services_test.rb
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/network/test/susefirewall_test.rb
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/packages/test/product_test.rb
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/packages/test/signature_check_callbacks_test.rb
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/packages/test/slide_show_test.rb
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/system/test/hw_detection_test.rb
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

require "yast"

Expand Down
2 changes: 1 addition & 1 deletion library/system/test/kernel_test.rb
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down
2 changes: 1 addition & 1 deletion library/system/test/proc_cmdline_test.rb
@@ -1,4 +1,4 @@
#! /usr/bin/rspec
#!/usr/bin/env rspec

top_srcdir = File.expand_path("../../../..", __FILE__)
inc_dirs = Dir.glob("#{top_srcdir}/library/*/src")
Expand Down

0 comments on commit c013887

Please sign in to comment.